brintos

brintos / llvm-project-archived public Read only

0
0
Text · 286 B · dd1466d Raw
9 lines · plain
1; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s2 3define <vscale x 1 x i32> @load(ptr %x) {4; CHECK: error: loading unsized types is not allowed5  %a = load { i32, <vscale x 1 x i32> }, ptr %x6  %b = extractvalue { i32, <vscale x 1 x i32> } %a, 17  ret <vscale x 1 x i32> %b8}9