aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-03 17:01:18 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-03 17:01:18 +0000
commit6f978b1eff7b900a51d3cae59092f739aaa52893 (patch)
tree3ebc24c91c4e5be139b4adac5595b25143404c4f
parentbcca3405bd6698af82eeed20e24744d0625aa1b3 (diff)
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
-rw-r--r--test/CodeGen/Generic/nested-select.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/nested-select.ll b/test/CodeGen/Generic/nested-select.ll
index 18798d1d27..192d29f93b 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]