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:
Reid Spencer 2007-01-03 17:03:48 +00:00
parent 98fd5eb48c
commit 95c466a52b
1 changed files with 4 additions and 0 deletions

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