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:
95ced11
)
Thumb does not have clz.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 1 Feb 2007 23:34:03 +0000
(23:34 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 1 Feb 2007 23:34:03 +0000
(23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33773
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 c66d2ff4bf001aee0b64cfea5c33c7a846b9a822..d56c3e967b751ba24a2aabb17a938f7992016b74 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-154,7
+154,7
@@
ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::ROTL, MVT::i32, Expand);
setOperationAction(ISD::CTTZ , MVT::i32, Expand);
setOperationAction(ISD::CTPOP, MVT::i32, Expand);
- if (!Subtarget->hasV5TOps())
+ if (!Subtarget->hasV5TOps()
|| Subtarget->isThumb()
)
setOperationAction(ISD::CTLZ, MVT::i32, Expand);
// These are expanded into libcalls.