aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/vec_mul.ll
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-30 19:15:10 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-30 19:15:10 +0000
commit89d86118c5e13cd9022cce1ebf382fb5ff1a40e0 (patch)
tree1c738e97155d7ad25bd36bb020705286d50b759c /test/CodeGen/PowerPC/vec_mul.ll
parent84030dcb3f532f66b13d54da7bdef9621527c5c5 (diff)
downloadexternal_llvm-89d86118c5e13cd9022cce1ebf382fb5ff1a40e0.zip
external_llvm-89d86118c5e13cd9022cce1ebf382fb5ff1a40e0.tar.gz
external_llvm-89d86118c5e13cd9022cce1ebf382fb5ff1a40e0.tar.bz2
test/CodeGen/PowerPC/vec_mul.ll: Add a triple. Thanks, Hal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/vec_mul.ll')
-rw-r--r--test/CodeGen/PowerPC/vec_mul.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/PowerPC/vec_mul.ll b/test/CodeGen/PowerPC/vec_mul.ll
index dadf0eb..53bc75d 100644
--- a/test/CodeGen/PowerPC/vec_mul.ll
+++ b/test/CodeGen/PowerPC/vec_mul.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -mattr=+altivec | FileCheck %s
+; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -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]
@@ -41,6 +41,6 @@ define <4 x float> @test_float(<4 x float>* %X, <4 x float>* %Y) {
; all bits set and shifting it 31 bits to left, resulting a an vector of
; 4 x 0x80000000 (-0.0 as float).
; CHECK: test_float:
-; CHECK: vspltisw [[ZNEG:v[0-9]+]], -1
-; CHECK: vslw {{v[0-9]+}}, [[ZNEG]], [[ZNEG]]
+; CHECK: vspltisw [[ZNEG:[0-9]+]], -1
+; CHECK: vslw {{[0-9]+}}, [[ZNEG]], [[ZNEG]]
; CHECK: vmaddfp