Evan Cheng
|
3434575704
|
(or (and (shl A, #shamt), mask), B) => ARMbfi B, A, ~mask where lsb(mask) == #shamt. rdar://8752056
llvm-svn: 121606
|
2010-12-11 04:11:38 +00:00 |
Jim Grosbach
|
b97e2bbe32
|
Add combiner patterns to more effectively utilize the BFI (bitfield insert)
instruction for non-constant operands. This includes the case referenced
in the README.txt regarding a bitfield copy.
llvm-svn: 108608
|
2010-07-17 03:30:54 +00:00 |
Jim Grosbach
|
11013eda5a
|
Add basic support to code-gen the ARM/Thumb2 bit-field insert (BFI) instruction
and a combine pattern to use it for setting a bit-field to a constant
value. More to come for non-constant stores.
llvm-svn: 108570
|
2010-07-16 23:05:05 +00:00 |