summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-09 17:26:55 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-09 17:26:55 +0000
commit307b8535ee4cb37ade40fdc7dd36baa7f27fa34c (patch)
tree4fb752a6dc3c18c10f55d8825a4326e96fc8d633 /test
parentd7170ea5a8faf37b94884c067dfbceea01762498 (diff)
Convert test PowerPC/2007-09-07-LoadStoreIdxForms to FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll b/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
index ea7de9847e..40f46fda46 100644
--- a/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
+++ b/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc64 | grep lwzx
+; RUN: llc < %s -march=ppc64 | FileCheck %s
%struct.__db_region = type { %struct.__mutex_t, [4 x i8], %struct.anon, i32, [1 x i32] }
%struct.__mutex_t = type { i32 }
@@ -11,6 +11,10 @@ entry:
%tmp = load i32* %ttype, align 4 ; <i32> [#uses=1]
%tmp1 = call i32 (...)* @bork( i32 %tmp ) ; <i32> [#uses=0]
ret void
+
+; CHECK: @foo
+; CHECK: lwzx
+; CHECK: blr
}
declare i32 @bork(...)