[LLVMbugs] [Bug 1752] New: LoopSimplifier dies on crazy code
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Oct 28 16:25:30 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1752
Summary: LoopSimplifier dies on crazy code
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Loop Optimizer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1174)
--> (http://llvm.org/bugs/attachment.cgi?id=1174)
Bytecode in question
Consider attached bytecode.
Running either 'opt -loopsimplify' or just 'llc' results:
opt: /home/asl/proj/llvm/src/lib/VMCore/Value.cpp:57: virtual
llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value is
destroyed!"' failed.
./opt((anonymous namespace)::PrintStackTrace()+0x22)[0x86c1910]
./opt((anonymous namespace)::SignalHandler(int)+0x102)[0x86c1bb8]
[0xffffe420]
/lib/libc.so.6(abort+0xec)[0xb7c8ef9c]
/lib/libc.so.6(__assert_fail+0xde)[0xb7c86b5e]
./opt(llvm::Value::~Value()+0x156)[0x86741da]
./opt(llvm::User::~User()+0x1a)[0x85fc700]
./opt(llvm::Instruction::~Instruction()+0x47)[0x8634fe5]
./opt(llvm::TerminatorInst::~TerminatorInst()+0x1a)[0x863600e]
./opt(llvm::InvokeInst::~InvokeInst()+0x80)[0x8637b50]
./opt(llvm::iplist<llvm::Instruction, llvm::ilist_traits<llvm::Instruction>
>::erase(llvm::ilist_iterator<llvm::Instruction>)+0x33)[0x83ede4b]
./opt(llvm::iplist<llvm::Instruction, llvm::ilist_traits<llvm::Instruction>
>::pop_back()+0x74)[0x842db36]
./opt((anonymous
namespace)::LoopSimplify::runOnFunction(llvm::Function&)+0x221)[0x85343b5]
./opt(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13d)[0x8656567]
./opt(llvm::FPPassManager::runOnModule(llvm::Module&)+0x76)[0x86566fe]
./opt(llvm::MPPassManager::runOnModule(llvm::Module&)+0x123)[0x8656859]
./opt(llvm::PassManagerImpl::run(llvm::Module&)+0x86)[0x8656c12]
./opt(llvm::PassManager::run(llvm::Module&)+0x1a)[0x8656d7e]
./opt(main+0xbd3)[0x83e1e8b]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7c799d6]
./opt(realloc+0x75)[0x83d4ba1]
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list