aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit2e39498114c8715920cce51488990ac36a3c61b0 (patch)
tree9e4a66776bb659791ff60a58c9ea1e3b1fa2b67f /test/CodeGen/CellSPU
parent951b229ccf95b187fb09734f6c37473d25c2c2b6 (diff)
downloadexternal_llvm-2e39498114c8715920cce51488990ac36a3c61b0.zip
external_llvm-2e39498114c8715920cce51488990ac36a3c61b0.tar.gz
external_llvm-2e39498114c8715920cce51488990ac36a3c61b0.tar.bz2
Add the check to the testcase of r106419.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU')
-rw-r--r--test/CodeGen/CellSPU/shuffles.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/shuffles.ll b/test/CodeGen/CellSPU/shuffles.ll
index 85b1650..04accb9 100644
--- a/test/CodeGen/CellSPU/shuffles.ll
+++ b/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