diff options
author | Andrew Trick <atrick@apple.com> | 2011-04-23 03:55:32 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-04-23 03:55:32 +0000 |
commit | 0ed5778a1ee9da1de3fcc65608051fe1581481cd (patch) | |
tree | 9fa0553c93476e04ca96e3a2679f934c2a36798e /llvm/lib/Target/ARM/ARMISelLowering.h | |
parent | 3260c9df4eaefa03bf9d4d9cf8ec593951d8fbab (diff) | |
download | bcm5719-llvm-0ed5778a1ee9da1de3fcc65608051fe1581481cd.tar.gz bcm5719-llvm-0ed5778a1ee9da1de3fcc65608051fe1581481cd.zip |
Thumb2 and ARM add/subtract with carry fixes.
Fixes Thumb2 ADCS and SBCS lowering: <rdar://problem/9275821>.
t2ADCS/t2SBCS are now pseudo instructions, consistent with ARM, so the
assembly printer correctly prints the 's' suffix.
Fixes Thumb2 adde -> SBC matching to check for live/dead carry flags.
Fixes the internal ARM machine opcode mnemonic for ADCS/SBCS.
Fixes ARM SBC lowering to check for live carry (potential bug).
llvm-svn: 130048
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index 6fc77cff2d8..5befcee6f29 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -485,6 +485,7 @@ namespace llvm { unsigned Size, unsigned BinOpcode) const; + bool RemapAddSubWithFlags(MachineInstr *MI, MachineBasicBlock *BB) const; }; enum NEONModImmType { |