Conservatively handle multiple MMOs in MIsNeedChainEdge
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-clz.ll
index 00a54a0f1952adfc88cab3d7f36c80c39707a33f..a5cd0747f1536948ec9aca8d66542b51b7745e0c 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+v7 | FileCheck %s
 
 define i32 @f1(i32 %a) {
-; CHECK: f1:
+; CHECK-LABEL: f1:
 ; CHECK: clz r
-    %tmp = tail call i32 @llvm.ctlz.i32(i32 %a)
+    %tmp = tail call i32 @llvm.ctlz.i32(i32 %a, i1 true)
     ret i32 %tmp
 }
 
-declare i32 @llvm.ctlz.i32(i32) nounwind readnone
+declare i32 @llvm.ctlz.i32(i32, i1) nounwind readnone