[LLVMbugs] [Bug 2028] New: passmanager asserts that pass requires lower level pass

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 13 19:21:26 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=2028

           Summary: passmanager asserts that pass requires lower level pass
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu


Similar to PR2026, this sequence fails on any bytecode with at least a function
in it:

$ opt b2.bc -loop-unroll -loop-rotate -simplifycfg
opt: PassManager.cpp:934: virtual void
llvm::PMDataManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*):
Assertion `0 && "Unable to handle Pass that requires lower level Analysis
pass"' failed.
opt((anonymous namespace)::PrintStackTrace()+0x22)[0x8682eee]
opt((anonymous namespace)::SignalHandler(int)+0x110)[0x8683216]
[0xffffe500]
[0x6]
/lib/tls/i686/cmov/libc.so.6(abort+0xe9)[0x41e982b9]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x101)[0x41e8ff51]
opt(llvm::PMStack::dump()+0x0)[0x860e91a]
opt(llvm::PMDataManager::add(llvm::Pass*, bool)+0x2f9)[0x861166d]
opt(llvm::LoopPass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType)+0x1af)[0x8542809]
opt(llvm::PassManagerImpl::addTopLevelPass(llvm::Pass*)+0xe8)[0x861af98]
opt(llvm::PMTopLevelManager::schedulePass(llvm::Pass*)+0x166)[0x860f26c]
opt(llvm::PassManagerImpl::add(llvm::Pass*)+0x1b)[0x861527b]
opt(llvm::PassManager::add(llvm::Pass*)+0x1a)[0x860f296]
opt((anonymous namespace)::addPass(llvm::PassManager&,
llvm::Pass*)+0x18)[0x83660ce]
opt(main+0x6ce)[0x8364598]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2)[0x41e82ea2]
opt(__gxx_personality_v0+0x141)[0x8356d6d]
Aborted


-- 
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