projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d4ad29
)
A big oops. Thumb1 default CC is a def of CPSR, not a use of CPSR.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 7 Aug 2009 22:36:37 +0000
(22:36 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 7 Aug 2009 22:36:37 +0000
(22:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78418
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.h
patch
|
blob
|
history
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) {
static inline
const MachineInstrBuilder &AddDefaultT1CC(const MachineInstrBuilder &MIB) {
- return MIB.addReg(ARM::CPSR);
+ return MIB.addReg(ARM::CPSR
, getDefRegState(true)
);
}
static inline
}
static inline