diff options
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/vec-move-11.ll')
-rw-r--r-- | llvm/test/CodeGen/SystemZ/vec-move-11.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SystemZ/vec-move-11.ll b/llvm/test/CodeGen/SystemZ/vec-move-11.ll index 07a037ccdf2..fd9c3d3559f 100644 --- a/llvm/test/CodeGen/SystemZ/vec-move-11.ll +++ b/llvm/test/CodeGen/SystemZ/vec-move-11.ll @@ -92,6 +92,15 @@ define <2 x i64> @f10(i64 %val) { ret <2 x i64> %ret } +; Test v4f32 insertion into an undef. +define <4 x float> @f11(float %val) { +; CHECK-LABEL: f11: +; CHECK: vrepf %v24, %v0, 0 +; CHECK: br %r14 + %ret = insertelement <4 x float> undef, float %val, i32 2 + ret <4 x float> %ret +} + ; Test v2f64 insertion into an undef. define <2 x double> @f12(double %val) { ; CHECK-LABEL: f12: |