From 1340f7671ce3b40c0f6b4ad874c5ec2aeb4552e5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 11 Mar 2002 22:14:26 +0000 Subject: New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1860 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../LevelRaise/2002-03-11-IterInvalidate.ll | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/Transforms/LevelRaise/2002-03-11-IterInvalidate.ll (limited to 'test/Transforms') 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 0000000..774f702 --- /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 +;