It is no longer permissible to have undefined types in function parameters.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 3 Jan 2007 17:03:48 +0000 (17:03 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 3 Jan 2007 17:03:48 +0000 (17:03 +0000)
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

test/CodeGen/X86/2006-08-07-CycleInDAG.ll

index 6cc548e479b3024e79ef438fc6b0ea5b455e66a0..c66d553c11137e2cf9b48cc23279c2c165ff5d98 100644 (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