From 0a516f926ff71ed09ad61b10b2ae96087a3e903a Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 3 Jan 2007 17:03:48 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/2006-08-07-CycleInDAG.ll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CodeGen/X86/2006-08-07-CycleInDAG.ll b/test/CodeGen/X86/2006-08-07-CycleInDAG.ll index 6cc548e479b..c66d553c111 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