diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 17:03:48 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 17:03:48 +0000 |
commit | 0a516f926ff71ed09ad61b10b2ae96087a3e903a (patch) | |
tree | 395b4b4dc3c0d138f44de24848ae138caf5712f7 /test/CodeGen/X86/2006-08-07-CycleInDAG.ll | |
parent | 6f978b1eff7b900a51d3cae59092f739aaa52893 (diff) | |
download | external_llvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.zip external_llvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.tar.gz external_llvm-0a516f926ff71ed09ad61b10b2ae96087a3e903a.tar.bz2 |
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.ll | 4 |
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 6cc548e..c66d553 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 |