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:
Reid Spencer 2007-01-03 17:03:48 +00:00
parent 6f978b1eff
commit 0a516f926f

View File

@ -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