| commit | d553096688e425f64f9b34e4dd486847a5fae0bb | [log] [tgz] |
|---|---|---|
| author | Eric Christopher <echristo@apple.com> | Sat Mar 26 01:21:03 2011 +0000 |
| committer | Eric Christopher <echristo@apple.com> | Sat Mar 26 01:21:03 2011 +0000 |
| tree | c65a2a3f35f15c6215976c5edf242dee452ee9bc | |
| parent | db40b5c899a94db50e63862af985a791ad0fa7b4 [diff] |
Fix the bfi handling for or (and a mask) (and b mask). We need the two masks to match inversely for the code as is to work. For the example given we actually want: bfi r0, r2, #1, #1 not #0, however, given the way the pattern is written it's not possible at the moment. Fixes rdar://9177502 llvm-svn: 128320