[llvm-commits] [llvm] r130856 - /llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed May 4 12:02:01 PDT 2011


Author: stoklund
Date: Wed May  4 14:02:01 2011
New Revision: 130856

URL: http://llvm.org/viewvc/llvm-project?rev=130856&view=rev
Log:
FileCheckize and break dependence on coalescing order.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll?rev=130856&r1=130855&r2=130856&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll Wed May  4 14:02:01 2011
@@ -1,14 +1,12 @@
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN:   grep {li 6, 3}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN:   grep {li 4, 2}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN:   grep {li 3, 0}
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
-; RUN:   grep {mr 5, 3}
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
 
 declare void @bar(i64 %x, i64 %y)
 
+; CHECK: li 4, 2
+; CHECK: li {{[53]}}, 0
+; CHECK: li 6, 3
+; CHECK: mr {{[53]}}, {{[53]}}
+
 define void @foo() {
   call void @bar(i64 2, i64 3)
   ret void





More information about the llvm-commits mailing list