summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-15 21:24:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-15 21:24:34 +0000
commitb9bff5880a34c105f643fb7660c26a07c4257bf3 (patch)
tree761b40014439758d3a442e44829c376a6e571f8f /llvm/test
parentad0dba582f94b2d3571b344ff746ab75c4c62b52 (diff)
downloadbcm5719-llvm-b9bff5880a34c105f643fb7660c26a07c4257bf3.tar.gz
bcm5719-llvm-b9bff5880a34c105f643fb7660c26a07c4257bf3.zip
ifcvt should ignore cfg where true and false successors are the same.
llvm-svn: 73423
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/ifcvt9.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/ifcvt9.ll b/llvm/test/CodeGen/ARM/ifcvt9.ll
new file mode 100644
index 00000000000..bbd2f2ed621
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/ifcvt9.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc -march=arm
+
+define fastcc void @t() nounwind {
+entry:
+ br i1 undef, label %bb.i.i3, label %growMapping.exit
+
+bb.i.i3: ; preds = %entry
+ unreachable
+
+growMapping.exit: ; preds = %entry
+ unreachable
+}
OpenPOWER on IntegriCloud