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:
b98bbb7
)
tADDhirr is a thumb instruction. Do not allow this code to be reached in non-thumb...
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 26 Mar 2009 19:09:01 +0000
(19:09 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 26 Mar 2009 19:09:01 +0000
(19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67765
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelDAGToDAG.cpp
b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index d48b32af613f4937fd2c8ca802740392ff70a201..3c6d21fc4097be68181c6f484973d87fa2104499 100644
(file)
--- a/
lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/
lib/Target/ARM/ARMISelDAGToDAG.cpp
@@
-595,6
+595,8
@@
SDNode *ARMDAGToDAGISel::Select(SDValue Op) {
}
}
case ISD::ADD: {
+ if (!Subtarget->isThumb())
+ break;
// Select add sp, c to tADDhirr.
SDValue N0 = Op.getOperand(0);
SDValue N1 = Op.getOperand(1);