[LLVMbugs] [Bug 2026] New: passmanager crash on domfrontier requiring domtree?

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 13 18:06:55 PST 2008


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

           Summary: passmanager crash on domfrontier requiring domtree?
           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


$ opt b.bc -loopsimplify -domtree -lcssa -domfrontier -ipconstprop

opt: /usr/local/src/llvm/include/llvm/PassAnalysisSupport.h:193: AnalysisType&
llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType =
llvm::DominatorTree]: Assertion `ResultPass && "getAnalysis*() called on an
analysis that was not " "'required' by 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::DominatorTree&
llvm::Pass::getAnalysisID<llvm::DominatorTree>(llvm::PassInfo const*)
const+0xa0)[0x83ae944]
opt(llvm::DominatorTree& llvm::Pass::getAnalysis<llvm::DominatorTree>()
const+0x48)[0x83ae9fc]
opt(llvm::DominanceFrontier::runOnFunction(llvm::Function&)+0x1f)[0x85d4451]
opt(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x122)[0x8610ad2]
opt(llvm::FPPassManager::runOnModule(llvm::Module&)+0x6e)[0x8610c82]
opt(llvm::MPPassManager::runOnModule(llvm::Module&)+0x108)[0x861079c]
opt(llvm::PassManagerImpl::run(llvm::Module&)+0x6e)[0x8610956]
opt(llvm::PassManager::run(llvm::Module&)+0x1a)[0x86109aa]
opt(main+0xa8f)[0x8364959]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2)[0x41e82ea2]
opt(__gxx_personality_v0+0x141)[0x8356d6d]
Aborted

The LLVM asm to trigger this is:

define i32 @test() {
entry:
        unreachable
}


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