summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen/Generic
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
commit98fd5eb48cb7b991f9d84b64ef8ede7a4db7a936 (patch)
tree9745f69754c0a74f24103ef62179a4225edd2269 /llvm/test/Regression/CodeGen/Generic
parente6f81876eb7f6427dfaffa14b5cb03496ae68605 (diff)
downloadbcm5719-llvm-98fd5eb48cb7b991f9d84b64ef8ede7a4db7a936.tar.gz
bcm5719-llvm-98fd5eb48cb7b991f9d84b64ef8ede7a4db7a936.zip
Fix this test case. It is no longer permissible to have undefined types
in function parameters. Fix by just defining the type as opaque. llvm-svn: 32837
Diffstat (limited to 'llvm/test/Regression/CodeGen/Generic')
-rw-r--r--llvm/test/Regression/CodeGen/Generic/nested-select.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/nested-select.ll b/llvm/test/Regression/CodeGen/Generic/nested-select.ll
index 18798d1d276..192d29f93bd 100644
--- a/llvm/test/Regression/CodeGen/Generic/nested-select.ll
+++ b/llvm/test/Regression/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]
OpenPOWER on IntegriCloud