R600/SI: Use VSrc_* register classes as the default classes for types
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-clz.ll
index 0bed0585b5d16caa5889833ae332bbe91b37c938..dbdaae29eaef153370d92ab4c80937f4fffade14 100644 (file)
@@ -1,8 +1,10 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | grep "clz " | count 1
+; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7 | FileCheck %s
 
 define i32 @f1(i32 %a) {
-    %tmp = tail call i32 @llvm.ctlz.i32(i32 %a)
+; CHECK-LABEL: f1:
+; CHECK: clz r
+    %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