llvm.org GIT mirror llvm / 0a516f9
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 Reid Spencer 13 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2
1
2 %struct.foo = type opaque
3
4 implementation
15
26 fastcc int %test(%struct.foo* %v, %struct.foo* %vi) {
37 br bool false, label %ilog2.exit, label %cond_true.i