From: Chris Lattner Date: Mon, 5 Apr 2004 02:01:32 +0000 (+0000) Subject: New testcase that crashes the instcombine pass. Dominance properties have X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ec3f8cd551ed66a0d9bab38c10e3596105e59d71;p=oota-llvm.git New testcase that crashes the instcombine pass. Dominance properties have no meaning if the code is not reachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12657 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll b/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll new file mode 100644 index 00000000000..b7bfb29f434 --- /dev/null +++ b/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +int %test() { + ret int 0 +Loop: + %X = add int %X, 1 + br label %Loop +}