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:
e8e67e1
)
These instructions are thumb2 only.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 19 Nov 2010 06:28:11 +0000
(06:28 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 19 Nov 2010 06:28:11 +0000
(06:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119793
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 7e3f98acd9b72db9e0f95f5e5d7f9c13f75c557e..1c7a1935af9fb8924de4fc8ad6df1bab2b646a5d 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-520,7
+520,7
@@
ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::BSWAP, MVT::i32, Expand);
// These are expanded into libcalls.
- if (!Subtarget->hasDivide()) {
+ if (!Subtarget->hasDivide()
|| !Subtarget->isThumb2()
) {
// v7M has a hardware divider
setOperationAction(ISD::SDIV, MVT::i32, Expand);
setOperationAction(ISD::UDIV, MVT::i32, Expand);