test/CodeGen/PowerPC: Add explicit -march=ppc32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 30 Nov 2012 13:28:31 +0000 (13:28 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 30 Nov 2012 13:28:31 +0000 (13:28 +0000)
FIXME: Please add another RUN line if you would like to check also on ppc64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168999 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/buildvec_canonicalize.ll
test/CodeGen/PowerPC/vec_mul.ll

index 514ccdd6bd00719e8f1581e6085e42cbe3aae737..e155a35c4da0d84e62e4759779a1633c471009c0 100644 (file)
@@ -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]
index 8fb435830aeb8b8d97c4a4b02cde9b95f773d1b8..df83bf1d1d143d9f21cd05c4e073c2fb1714c745 100644 (file)
@@ -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]