1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

test/CodeGen/PowerPC/vec_mul.ll: Add a triple. Thanks, Hal.

llvm-svn: 169026
This commit is contained in:
Chad Rosier 2012-11-30 19:15:10 +00:00
parent 76e7f353e3
commit 05b569a7a5

View 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