From 3a49a6b5b85c4750e26a859ba9fed5984d7be09d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Sep 2003 15:29:11 +0000 Subject: [PATCH] new testcase that crashes opt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8536 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll diff --git a/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll new file mode 100644 index 00000000000..13b4f91cd66 --- /dev/null +++ b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -adce -disable-output + +int %main() { + br label %loop + +loop: + br label %loop +}