diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 17:01:18 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-03 17:01:18 +0000 |
commit | 6f978b1eff7b900a51d3cae59092f739aaa52893 (patch) | |
tree | 3ebc24c91c4e5be139b4adac5595b25143404c4f /test | |
parent | bcca3405bd6698af82eeed20e24744d0625aa1b3 (diff) | |
download | external_llvm-6f978b1eff7b900a51d3cae59092f739aaa52893.zip external_llvm-6f978b1eff7b900a51d3cae59092f739aaa52893.tar.gz external_llvm-6f978b1eff7b900a51d3cae59092f739aaa52893.tar.bz2 |
Fix this test case. It is no longer permissible to have undefined types
in function parameters. Fix by just defining the type as opaque.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Generic/nested-select.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/nested-select.ll b/test/CodeGen/Generic/nested-select.ll index 18798d1..192d29f 100644 --- a/test/CodeGen/Generic/nested-select.ll +++ b/test/CodeGen/Generic/nested-select.ll @@ -2,6 +2,10 @@ ; Test that select of a select works +%typedef.tree = type opaque + +implementation + int %ic_test(double %p.0.2.0.val, double %p.0.2.1.val, double %p.0.2.2.val, %typedef.tree* %t) { %result.1.0 = cast bool false to int ; <int> [#uses=1] %tmp.55 = setge double 0.000000e+00, 1.000000e+00 ; <bool> [#uses=1] |