Add ADD and SUB to the predicable ARM instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 16 Aug 2012 23:21:55 +0000 (23:21 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 16 Aug 2012 23:21:55 +0000 (23:21 +0000)
commit083b48af14c8bfa0e96f63ebc889704d09655fd4
tree90d9697be12232acb8a9d695af32125fa6262dc5
parent053b5b0b3c34d4763511b6dcd8e0150f8e9dd083
Add ADD and SUB to the predicable ARM instructions.

It is not my plan to duplicate the entire ARM instruction set with
predicated versions. We need a way of representing predicated
instructions in SSA form without requiring a separate opcode.

Then the pseudo-instructions can go away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162061 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/select.ll
test/CodeGen/ARM/select_xform.ll
test/CodeGen/Thumb2/thumb2-select_xform.ll