brintos

brintos / llvm-project-archived public Read only

0
0
Text · 373 B · e57c105 Raw
10 lines · plain
1; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s2 3define void @store(ptr %x, i32 %y, <vscale x 1 x i32> %z) {4; CHECK: error: storing unsized types is not allowed5  %a = insertvalue { i32, <vscale x 1 x i32> } undef, i32 %y, 06  %b = insertvalue { i32, <vscale x 1 x i32> } %a,  <vscale x 1 x i32> %z, 17  store { i32, <vscale x 1 x i32> } %b, ptr %x8  ret void9}10