[LLVMbugs] [Bug 325] NEW: Loop Unroller crashes on attached code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 20 13:18:59 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=325

           Summary: Loop Unroller crashes on 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 crashes on the attached code:

opt -loop-unroll bugpoint-reduced-simplified.bc 
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: /home/vadve/criswell/llvm/lib/Transforms/Scalar/LoopUnroll.cpp:169: bool
<unnamed>::LoopUnroll::visitLoop(llvm::Loop*): Assertion `TripCount != 0 &&
"Trip count of 0 is impossible!"' failed.
opt[0x8618b5e]
opt[0x8618d7e]
opt[0x42029188]
opt(abort+0x16e)[0x4202a8c2]
opt[0x42022ecb]
opt((anonymous namespace)::LoopUnroll::visitLoop(llvm::Loop*)+0x6a8)[0x842180e]
opt((anonymous
namespace)::LoopUnroll::runOnFunction(llvm::Function&)+0xec)[0x8420ffa]
opt(llvm::PassManagerTraits<llvm::Function>::runPass(llvm::FunctionPass*,
llvm::Function*)+0x1f)[0x85f135f]
opt(llvm::PassManagerT<llvm::Function>::runOnUnit(llvm::Function*)+0x5e1)[0x85e7583]
opt(llvm::PassManagerTraits<llvm::Function>::runOnFunction(llvm::Function&)+0x1f)[0x85e8157]
opt(llvm::FunctionPass::run(llvm::Module&)+0xa7)[0x85a536b]
opt(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::Pass*,
llvm::Module*)+0x1f)[0x85f13f5]
opt(llvm::PassManagerT<llvm::Module>::runOnUnit(llvm::Module*)+0x5e1)[0x85e56e3]
opt(llvm::PassManagerTraits<llvm::Module>::run(llvm::Module&)+0x1f)[0x85e6d85]
opt(llvm::PassManager::run(llvm::Module&)+0x23)[0x85a482f]
opt(main+0x87f)[0x83a4def]
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)[0x83a44c1]
Abort (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