summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-17 07:59:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-17 07:59:14 +0000
commit83b3d8267225d585678d5d3af9bba5735f4b415d (patch)
tree9d6c2ad7bfd568186e83a39e6f03e1c0bf415715 /llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll
parent100602d7561ca5e245db6194bddae86357d203d4 (diff)
downloadbcm5719-llvm-83b3d8267225d585678d5d3af9bba5735f4b415d.tar.gz
bcm5719-llvm-83b3d8267225d585678d5d3af9bba5735f4b415d.zip
Regression is gone, don't try to find it on clean target.
llvm-svn: 33296
Diffstat (limited to 'llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll')
-rw-r--r--llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll b/llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll
new file mode 100644
index 00000000000..5c795fa6625
--- /dev/null
+++ b/llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll
@@ -0,0 +1,18 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc
+
+void %QRiterate(int %p.1, double %tmp.212) {
+entry: ; No predecessors!
+ %tmp.184 = setgt int %p.1, 0 ; <bool> [#uses=1]
+ br bool %tmp.184, label %shortcirc_next.1, label %shortcirc_done.1
+
+shortcirc_next.1: ; preds = %entry
+ %tmp.213 = setne double %tmp.212, 0.000000e+00
+ br label %shortcirc_done.1
+
+shortcirc_done.1: ; preds = %entry, %shortcirc_next.1
+ %val.1 = phi bool [ false, %entry ], [ %tmp.213, %shortcirc_next.1 ]
+ br bool %val.1, label %shortcirc_next.1, label %exit.1
+
+exit.1:
+ ret void
+}
OpenPOWER on IntegriCloud