diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-30 13:28:31 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-30 13:28:31 +0000 |
commit | 09af5b8c3e5261b030f7d1015beac7a6e636f319 (patch) | |
tree | c90cb689b0814781f2bbe95d2091a78fdbed846b /test | |
parent | 375cbe414329ebade5b50cf3648611af58ae9de7 (diff) | |
download | llvm-09af5b8c3e5261b030f7d1015beac7a6e636f319.tar.gz llvm-09af5b8c3e5261b030f7d1015beac7a6e636f319.tar.bz2 llvm-09af5b8c3e5261b030f7d1015beac7a6e636f319.tar.xz |
test/CodeGen/PowerPC: Add explicit -march=ppc32.
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/buildvec_canonicalize.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/vec_mul.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/buildvec_canonicalize.ll b/test/CodeGen/PowerPC/buildvec_canonicalize.ll index 514ccdd6bd..e155a35c4d 100644 --- a/test/CodeGen/PowerPC/buildvec_canonicalize.ll +++ b/test/CodeGen/PowerPC/buildvec_canonicalize.ll @@ -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] diff --git a/test/CodeGen/PowerPC/vec_mul.ll b/test/CodeGen/PowerPC/vec_mul.ll index 8fb435830a..df83bf1d1d 100644 --- a/test/CodeGen/PowerPC/vec_mul.ll +++ b/test/CodeGen/PowerPC/vec_mul.ll @@ -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] |