From: Chris Lattner Date: Mon, 11 Mar 2002 22:14:26 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1340f7671ce3b40c0f6b4ad874c5ec2aeb4552e5;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1860 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LevelRaise/2002-03-11-IterInvalidate.ll b/test/Transforms/LevelRaise/2002-03-11-IterInvalidate.ll new file mode 100644 index 00000000000..774f7025cbe --- /dev/null +++ b/test/Transforms/LevelRaise/2002-03-11-IterInvalidate.ll @@ -0,0 +1,47 @@ +; Assertion failure in LevelRaise caused by this code: +; +; LevelRaise.cpp:92: failed assertion `I->getOpcode() == Instruction::Add && I->getNumOperands() == 2 && "Use is not a valid add instruction!"' +; +; RUN: as < %s | opt -raise + +%lit_base = uninitialized global [26 x int] ; <[26 x int] *> [#uses=1] +%leaves = uninitialized global [26 x int] ; <[26 x int] *> [#uses=1] +%parents = uninitialized global [26 x int] ; <[26 x int] *> [#uses=1] +implementation + +int "build_tree"(int %ml) +begin +;