brintos

brintos / llvm-project-archived public Read only

0
0
Text · 622 B · 47d8453 Raw
20 lines · plain
1; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s2 3; Test a vector which is built with elements from two loads replicates the4; load with most elements having its value.5 6; CHECK:      vlef7; CHECK-NOT:  vlvgf8 9define void @update(ptr %src1, ptr %src2, ptr %dst) {10bb:11  %tmp = load i32, ptr %src112  %tmp1 = load i32, ptr %src213  %tmp2 = insertelement <4 x i32> undef, i32 %tmp, i32 014  %tmp3 = insertelement <4 x i32> %tmp2, i32 %tmp1, i32 115  %tmp4 = insertelement <4 x i32> %tmp3, i32 %tmp1, i32 216  %tmp5 = insertelement <4 x i32> %tmp4, i32 %tmp1, i32 317  store <4 x i32> %tmp5, ptr %dst18  ret void19}20