diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-07 22:36:37 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-07 22:36:37 +0000 |
commit | fcc716352b893b45da2d6aa9d7afff8ba1ad0527 (patch) | |
tree | e364ecb8f9071ef0d536308a03a2c93d7c861044 /lib | |
parent | 3d4ad297c1a094ad1c7ea97f7b312f10946c998b (diff) | |
download | external_llvm-fcc716352b893b45da2d6aa9d7afff8ba1ad0527.zip external_llvm-fcc716352b893b45da2d6aa9d7afff8ba1ad0527.tar.gz external_llvm-fcc716352b893b45da2d6aa9d7afff8ba1ad0527.tar.bz2 |
A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h index 0b809bd..9062c72 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.h +++ b/lib/Target/ARM/ARMBaseInstrInfo.h @@ -268,7 +268,7 @@ const MachineInstrBuilder &AddDefaultCC(const MachineInstrBuilder &MIB) { static inline const MachineInstrBuilder &AddDefaultT1CC(const MachineInstrBuilder &MIB) { - return MIB.addReg(ARM::CPSR); + return MIB.addReg(ARM::CPSR, getDefRegState(true)); } static inline |