test/CodeGen/PowerPC/vec_mul.ll: Add a triple. Thanks, Hal.
authorChad Rosier <mcrosier@apple.com>
Fri, 30 Nov 2012 19:15:10 +0000 (19:15 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 30 Nov 2012 19:15:10 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169026 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/vec_mul.ll

index dadf0ebb7764c495cdc54279ea615e86b1f7d4df..53bc75dd1078c428e357ff0e113b3a595d5c17cc 100644 (file)
@@ -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