Add basic support to code-gen the ARM/Thumb2 bit-field insert (BFI) instruction
authorJim Grosbach <grosbach@apple.com>
Fri, 16 Jul 2010 23:05:05 +0000 (23:05 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 16 Jul 2010 23:05:05 +0000 (23:05 +0000)
commit469bbdb597f27d6900c95b6d8ae20a45b79ce91b
tree3972372fc21435a8b44745ef8375f13d90c10521
parent6dd26ba4bab4e3ebb1545e7e2211297f66e61e0b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108570 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h
test/CodeGen/ARM/bfi.ll [new file with mode: 0644]
test/CodeGen/Thumb2/bfi.ll [new file with mode: 0644]