summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/thumb2-clz.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-27 06:31:02 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-27 06:31:02 +0000
commit3d43b38f0faac36a2e4d3df05ca893cb3254ba35 (patch)
tree2916db8eae5d39f348f5fae32152f598a0a2de97 /llvm/test/CodeGen/Thumb2/thumb2-clz.ll
parentef6ab417c18fe68ae1f90d8a4d874f3cec90347b (diff)
downloadbcm5719-llvm-3d43b38f0faac36a2e4d3df05ca893cb3254ba35.tar.gz
bcm5719-llvm-3d43b38f0faac36a2e4d3df05ca893cb3254ba35.zip
Fix Thumb2 failures by converting them to FileCheck.
llvm-svn: 85210
Diffstat (limited to 'llvm/test/CodeGen/Thumb2/thumb2-clz.ll')
-rw-r--r--llvm/test/CodeGen/Thumb2/thumb2-clz.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-clz.ll b/llvm/test/CodeGen/Thumb2/thumb2-clz.ll
index 0bed0585b5d..74728bfcc5a 100644
--- a/llvm/test/CodeGen/Thumb2/thumb2-clz.ll
+++ b/llvm/test/CodeGen/Thumb2/thumb2-clz.ll
@@ -1,6 +1,8 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | grep "clz " | count 1
+; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7a | FileCheck %s
define i32 @f1(i32 %a) {
+; CHECK: f1:
+; CHECK: clz r
%tmp = tail call i32 @llvm.ctlz.i32(i32 %a)
ret i32 %tmp
}
OpenPOWER on IntegriCloud