[llvm-commits] [llvm] r168999 - in /llvm/trunk/test/CodeGen/PowerPC: buildvec_canonicalize.ll vec_mul.ll

NAKAMURA Takumi geek4civic at gmail.com
Fri Nov 30 05:28:31 PST 2012


Author: chapuni
Date: Fri Nov 30 07:28:31 2012
New Revision: 168999

URL: http://llvm.org/viewvc/llvm-project?rev=168999&view=rev
Log:
test/CodeGen/PowerPC: Add explicit -march=ppc32.

FIXME: Please add another RUN line if you would like to check also on ppc64.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll
    llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll?rev=168999&r1=168998&r2=168999&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll Fri Nov 30 07:28:31 2012
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mattr=+altivec --enable-unsafe-fp-math | FileCheck %s
+; RUN: llc < %s -march=ppc32 -mattr=+altivec --enable-unsafe-fp-math | FileCheck %s
 
 define void @VXOR(<4 x float>* %P1, <4 x i32>* %P2, <4 x float>* %P3) {
         %tmp = load <4 x float>* %P3            ; <<4 x float>> [#uses=1]

Modified: llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll?rev=168999&r1=168998&r2=168999&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll Fri Nov 30 07:28:31 2012
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mattr=+altivec | FileCheck %s
+; RUN: llc < %s -march=ppc32 -mattr=+altivec | FileCheck %s
 
 define <4 x i32> @test_v4i32(<4 x i32>* %X, <4 x i32>* %Y) {
 	%tmp = load <4 x i32>* %X		; <<4 x i32>> [#uses=1]





More information about the llvm-commits mailing list