summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-08-07-CycleInDAG.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-03 17:03:48 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-03 17:03:48 +0000
commit0a516f926ff71ed09ad61b10b2ae96087a3e903a (patch)
tree395b4b4dc3c0d138f44de24848ae138caf5712f7 /test/CodeGen/X86/2006-08-07-CycleInDAG.ll
parent6f978b1eff7b900a51d3cae59092f739aaa52893 (diff)
downloadllvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.tar.gz
llvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.tar.bz2
llvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.tar.xz
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
Diffstat (limited to 'test/CodeGen/X86/2006-08-07-CycleInDAG.ll')
-rw-r--r--test/CodeGen/X86/2006-08-07-CycleInDAG.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2006-08-07-CycleInDAG.ll b/test/CodeGen/X86/2006-08-07-CycleInDAG.ll
index 6cc548e479..c66d553c11 100644
--- a/test/CodeGen/X86/2006-08-07-CycleInDAG.ll
+++ b/test/CodeGen/X86/2006-08-07-CycleInDAG.ll
@@ -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