aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 85b16506e9..04accb9c56 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