summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CellSPU
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2010-06-21 15:11:51 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2010-06-21 15:11:51 +0000
commitdf071b7e421b9671082a34767fe1cff2c648e06a (patch)
treee720ae8cd137073b723a636d893163315a8e6c68 /llvm/test/CodeGen/CellSPU
parent0ab5a02579db6fa3a72f6bf11725f91efd71b498 (diff)
downloadbcm5719-llvm-df071b7e421b9671082a34767fe1cff2c648e06a.tar.gz
bcm5719-llvm-df071b7e421b9671082a34767fe1cff2c648e06a.zip
Add the check to the testcase of r106419.
llvm-svn: 106421
Diffstat (limited to 'llvm/test/CodeGen/CellSPU')
-rw-r--r--llvm/test/CodeGen/CellSPU/shuffles.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CellSPU/shuffles.ll b/llvm/test/CodeGen/CellSPU/shuffles.ll
index 85b16506e95..04accb9c56b 100644
--- a/llvm/test/CodeGen/CellSPU/shuffles.ll
+++ b/llvm/test/CodeGen/CellSPU/shuffles.ll
@@ -8,6 +8,9 @@ define <4 x float> @shuffle(<4 x float> %param1, <4 x float> %param2) {
}
define <4 x float> @splat(float %param1) {
+ ; CHECK: lqa
+ ; CHECK: shufb $3
+ ; CHECK: bi
%vec = insertelement <1 x float> undef, float %param1, i32 0
%val= shufflevector <1 x float> %vec, <1 x float> undef, <4 x i32> <i32 0,i32 0,i32 0,i32 0>
ret <4 x float> %val
OpenPOWER on IntegriCloud