[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Thu Feb 1 15:34:19 PST 2007
Changes in directory llvm/lib/Target/ARM:
ARMISelLowering.cpp updated: 1.10 -> 1.11
---
Log message:
Thumb does not have clz.
---
Diffs of the changes: (+1 -1)
ARMISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMISelLowering.cpp
diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.10 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.11
--- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.10 Wed Jan 31 03:30:58 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.cpp Thu Feb 1 17:34:03 2007
@@ -154,7 +154,7 @@
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.
More information about the llvm-commits
mailing list