projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMBaseInstrInfo.h
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.h
b/lib/Target/ARM/ARMBaseInstrInfo.h
index 0b809bd7477d389530c00cf8f546a59e06acde39..9062c72db4ffd128a74ee5c6c5eb0cca843bc5f3 100644
(file)
--- 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