Convert test PowerPC/2007-09-07-LoadStoreIdxForms to FileCheck
authorHal Finkel <hfinkel@anl.gov>
Tue, 9 Apr 2013 17:26:55 +0000 (17:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 9 Apr 2013 17:26:55 +0000 (17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179104 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll

index ea7de9847ea7db4540181fc971e80fb054481e15..40f46fda468d093f26f98e84d00460ee945bb1ba 100644 (file)
@@ -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(...)