It is no longer permissible to have undefined types in function parameters.
Just fix it by defining the type as opaque. llvm-svn: 32838
This commit is contained in:
parent
98fd5eb48c
commit
95c466a52b
|
@ -1,5 +1,9 @@
|
|||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2
|
||||
|
||||
%struct.foo = type opaque
|
||||
|
||||
implementation
|
||||
|
||||
fastcc int %test(%struct.foo* %v, %struct.foo* %vi) {
|
||||
br bool false, label %ilog2.exit, label %cond_true.i
|
||||
|
||||
|
|
Loading…
Reference in New Issue