forked from OSchip/llvm-project
A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.
llvm-svn: 78418
This commit is contained in:
parent
83eb9b0b01
commit
fb93be2b6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue