[LLVMbugs] [Bug 363] NEW: Loop unroller breaks on the attached code
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 8 13:58:11 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=363
Summary: Loop unroller breaks on the attached code
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: criswell at uiuc.edu
The loop unroller optimization breaks on the attached test case:
llvm-as -f -o file.bc file.ll
opt file.bc -loop-unroll
WARNING: It looks like you're attempting to print out a bytecode file. I'm
going to pretend you didn't ask me to do this (for your own good). If you
REALLY want to taste LLVM bytecode first hand, you can force output with the
'-f' option.
opt[0x8631376]
opt[0x8631596]
opt[0x42029188]
opt(bool llvm::isa_impl<llvm::Instruction, llvm::Value>(llvm::Value
const&)+0x11)[0x83d8bc7]
opt(llvm::isa_impl_wrap<llvm::Instruction, llvm::Value const, llvm::Value
const>::doit(llvm::Value const&)+0x11)[0x83d8b39]
opt(bool llvm::isa_impl_cl<llvm::Value>::isa<llvm::Instruction>(llvm::Value
const&)+0x11)[0x83d8b23]
opt(bool llvm::isa_impl_cl<llvm::Value
const>::isa<llvm::Instruction>(llvm::Value const&)+0x11)[0x83d8b0d]
opt(bool llvm::isa_impl_cl<llvm::Value
const*>::isa<llvm::Instruction>(llvm::Value const*)+0x11)[0x83d8af7]
opt(bool llvm::isa<llvm::Instruction, llvm::Value const*>(llvm::Value const*
const&)+0x13)[0x83d8ae1]
opt(llvm::SetCondInst::classof(llvm::Value const*)+0x18)[0x845acf4]
opt(bool llvm::isa_impl<llvm::SetCondInst, llvm::Value>(llvm::Value
const&)+0x11)[0x8459947]
opt(llvm::isa_impl_wrap<llvm::SetCondInst, llvm::Value const, llvm::Value
const>::doit(llvm::Value const&)+0x11)[0x8459931]
opt(bool llvm::isa_impl_cl<llvm::Value>::isa<llvm::SetCondInst>(llvm::Value
const&)+0x11)[0x845991b]
opt(bool
llvm::isa_impl_cl<llvm::Value*>::isa<llvm::SetCondInst>(llvm::Value*)+0x11)[0x8459905]
opt(bool llvm::isa<llvm::SetCondInst, llvm::Value*>(llvm::Value*
const&)+0x13)[0x84598ef]
opt(llvm::cast_retty<llvm::SetCondInst, llvm::Value*>::ret_type
llvm::dyn_cast<llvm::SetCondInst, llvm::Value*>(llvm::Value*)+0x11)[0x84569ef]
opt(llvm::Loop::getTripCount() const+0xb5)[0x85425ab]
opt((anonymous namespace)::LoopUnroll::visitLoop(llvm::Loop*)+0x181)[0x843b177]
opt((anonymous
namespace)::LoopUnroll::runOnFunction(llvm::Function&)+0xec)[0x843ae8a]
opt(llvm::PassManagerTraits<llvm::Function>::runPass(llvm::FunctionPass*,
llvm::Function*)+0x1f)[0x860efcb]
opt(llvm::PassManagerT<llvm::Function>::runOnUnit(llvm::Function*)+0x5e1)[0x86051ef]
opt(llvm::PassManagerTraits<llvm::Function>::runOnFunction(llvm::Function&)+0x1f)[0x8605dc3]
opt(llvm::FunctionPass::run(llvm::Module&)+0xa7)[0x85c47e3]
opt(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::Pass*,
llvm::Module*)+0x1f)[0x860f061]
opt(llvm::PassManagerT<llvm::Module>::runOnUnit(llvm::Module*)+0x5e1)[0x860334f]
opt(llvm::PassManagerTraits<llvm::Module>::run(llvm::Module&)+0x1f)[0x86049f1]
opt(llvm::PassManager::run(llvm::Module&)+0x23)[0x85c3ca7]
opt(main+0x924)[0x83af9b4]
opt(__libc_start_main+0x95)[0x42017589]
opt(std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&,
char)+0x5d)[0x83aefe1]
Segmentation fault (core dumped)
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list