brintos

brintos / llvm-project-archived public Read only

0
0
Text · 654 B · ec03868 Raw
21 lines · plain
1; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s2 3; Test that a loaded value which is replicated is not inserted also in any4; elements.5 6; CHECK:      vlvgp   %v0, %r0, %r07; CHECK-NEXT: vrepf   %v24, %v0, 18; CHECK-NOT:  vlvgf   %v24, %r0, 19; CHECK-NOT:  vlvgf   %v24, %r0, 210 11define <4 x i32> @fun(i32 %arg, ptr %dst) {12  %tmp = load i32, ptr undef13  %tmp8 = insertelement <4 x i32> undef, i32 %tmp, i32 014  %tmp9 = insertelement <4 x i32> %tmp8, i32 %tmp, i32 115  %tmp10 = insertelement <4 x i32> %tmp9, i32 %tmp, i32 216  %tmp11 = insertelement <4 x i32> %tmp10, i32 %arg, i32 317  store i32 %tmp, ptr %dst18  ret <4 x i32> %tmp1119}20 21