[llvm-commits] [llvm] r169026 - /llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll

Chad Rosier mcrosier at apple.com
Fri Nov 30 11:15:10 PST 2012


Author: mcrosier
Date: Fri Nov 30 13:15:10 2012
New Revision: 169026

URL: http://llvm.org/viewvc/llvm-project?rev=169026&view=rev
Log:
test/CodeGen/PowerPC/vec_mul.ll: Add a triple. Thanks, Hal.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll?rev=169026&r1=169025&r2=169026&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll Fri Nov 30 13:15:10 2012
@@ -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 @@
 ; 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





More information about the llvm-commits mailing list