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:
1107734
)
Use the thumb2 conditional move instruction.
author
Eric Christopher
<echristo@apple.com>
Thu, 7 Oct 2010 05:31:49 +0000
(
05:31
+0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 7 Oct 2010 05:31:49 +0000
(
05:31
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115905
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index deaac936fad93c308e330c107aa19eb192fdfe4c..67ba05ec259deaa7b8a46cdbfa070faa1f32db82 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-942,7
+942,7
@@
bool ARMFastISel::SelectCmp(const Instruction *I) {
// Now set a register based on the comparison. Explicitly set the predicates
// here.
- unsigned MovCCOpc = isThumb ? ARM::tMOVCCi : ARM::MOVCCi;
+ unsigned MovCCOpc = isThumb ? ARM::t
2
MOVCCi : ARM::MOVCCi;
unsigned DestReg = createResultReg(ARM::GPRRegisterClass);
Constant *Zero
= ConstantInt::get(Type::getInt32Ty(*Context), 0);