[X86][AVX] Match broadcast loads through a bitcast
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-clz.ll
index 74728bfcc5a99a1e5429a46a9ddc4cbc8fd2a7ad..52b540b2bdd063f8f03c980329fa991fb1312809 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | FileCheck %s
+; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2,+v7 %s -o - | 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