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.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to