From 339c50873de75ad7db9ab57d64cb4db70035709b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Mar 2004 05:44:02 +0000 Subject: [PATCH] New testcase for PR293 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12433 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../LoopSimplify/2004-03-15-IncorrectDomUpdate.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll diff --git a/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll b/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll new file mode 100644 index 00000000000..8e1337993ff --- /dev/null +++ b/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll @@ -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 +}