diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-16 05:44:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-16 05:44:02 +0000 |
commit | 339c50873de75ad7db9ab57d64cb4db70035709b (patch) | |
tree | 5ff4575045298d472fbe88750a647da48eff6718 | |
parent | 26894bc3470d99af7b8f8f6faadd1a84459ad620 (diff) |
New testcase for PR293
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12433 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll | 12 |
1 files changed, 12 insertions, 0 deletions
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 0000000000..8e1337993f --- /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 +} |