brintos

brintos / llvm-project-archived public Read only

0
0
Text · 485 B · da9d068 Raw
16 lines · plain
1; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s2 3; Test that a loaded value which is used both in a vector and scalar context4; is not transformed to a vlrep + vlgvg.5 6; CHECK-NOT: vlrep7 8define void @fun(i64 %arg, ptr %Addr, ptr %Dst) {9  %tmp10 = load ptr, ptr %Addr10  store i64 %arg, ptr %tmp1011  %tmp12 = insertelement <2 x ptr> undef, ptr %tmp10, i32 012  %tmp13 = insertelement <2 x ptr> %tmp12, ptr %tmp10, i32 113  store <2 x ptr> %tmp13, ptr %Dst14  ret void15}16