summaryrefslogtreecommitdiff
path: root/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
commit37986053b45ee2a4e74fefdee30a869a5a3e8550 (patch)
tree24682f288d0fdb495685ad3741eb4c84c3f7b260 /test/CodeGen/Thumb2/thumb2-clz.ll
parentb9350315d2bafcbdd667bfab49d10b7df4515ec5 (diff)
downloadllvm-37986053b45ee2a4e74fefdee30a869a5a3e8550.tar.gz
llvm-37986053b45ee2a4e74fefdee30a869a5a3e8550.tar.bz2
llvm-37986053b45ee2a4e74fefdee30a869a5a3e8550.tar.xz
Fix Thumb2 failures by converting them to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-clz.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-clz.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-clz.ll b/test/CodeGen/Thumb2/thumb2-clz.ll
index 0bed0585b5..74728bfcc5 100644
--- a/test/CodeGen/Thumb2/thumb2-clz.ll
+++ b/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
}