[llvm-commits] [llvm] r37943 - in /llvm/trunk/test/CodeGen/PowerPC: big-endian-actual-args.ll big-endian-formal-args.ll

Dan Gohman djg at cray.com
Fri Jul 6 06:15:51 PDT 2007


Author: djg
Date: Fri Jul  6 08:15:51 2007
New Revision: 37943

URL: http://llvm.org/viewvc/llvm-project?rev=37943&view=rev
Log:
Add an explicit triple to the big-endian tests so that the assembly
output format is always consistent with what the greps are looking for.

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

Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll?rev=37943&r1=37942&r2=37943&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll Fri Jul  6 08:15:51 2007
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {addc 4, 4, 6}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {adde 3, 3, 5}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {addc 4, 4, 6}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {adde 3, 3, 5}
 
 define i64 @foo(i64 %x, i64 %y) {
   %z = add i64 %x, %y

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=37943&r1=37942&r2=37943&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll Fri Jul  6 08:15:51 2007
@@ -1,7 +1,11 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 6, 3}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 4, 2}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {li 3, 0}
-; RUN: llvm-as < %s | llc -march=ppc32 | grep {mr 5, 3}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {li 6, 3}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {li 4, 2}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {li 3, 0}
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN:   grep {mr 5, 3}
 
 declare void @bar(i64 %x, i64 %y)
 





More information about the llvm-commits mailing list