mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 21:00:00 +00:00
It is no longer permissible to have undefined types in function parameters.
Just fix it by defining the type as opaque. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f978b1eff
commit
0a516f926f
@ -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
Block a user