mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +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…
x
Reference in New Issue
Block a user