A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.

llvm-svn: 78418
This commit is contained in:
Evan Cheng 2009-08-07 22:36:37 +00:00
parent 83eb9b0b01
commit fb93be2b6f
1 changed files with 1 additions and 1 deletions

View File

@ -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