mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
c7007dd0dc
and bitcode support for the extractvalue and insertvalue instructions and constant expressions. Note that this does not yet include CodeGen support. llvm-svn: 51468
12 lines
310 B
LLVM
12 lines
310 B
LLVM
; RUN: llvm-as < %s |& not grep {Instruction operands must be first-class}
|
|
|
|
; This previously was for PR826, but structs are now first-class so
|
|
; the following is now valid.
|
|
|
|
%struct_4 = type { i32 }
|
|
|
|
define void @test() {
|
|
store %struct_4 zeroinitializer, %struct_4* null
|
|
unreachable
|
|
}
|