New testcase for PR293
authorChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 05:44:02 +0000 (05:44 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 05:44:02 +0000 (05:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12433 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll [new file with mode: 0644]

diff --git a/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll b/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll
new file mode 100644 (file)
index 0000000..8e13379
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
+void %main() {
+entry:
+       br bool false, label %Out, label %loop
+
+loop:
+       %LI = setgt int 0, 0
+       br bool %LI, label %loop, label %Out
+
+Out:
+       ret void
+}