[LLVMbugs] [Bug 585] NEW: Lo is not <= Hi in range emission code!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 16 16:25:57 PDT 2005


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

           Summary: Lo is not <= Hi in range emission code!
           Product: tools
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gccas
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bryan.turner at pobox.com


LLVM 1.5 with recent patches.

*** You can reproduce the problem with:
opt bugpoint-reduced-simplified.bc -instcombine

---------------------------------

gccas: InstructionCombining.cpp:1527: llvm::Instruction*
<unnamed>::InstCombiner::InsertRangeTest(llvm::Value*, llvm::Constant*,
llvm::Constant*, bool, llvm::Instruction&): Assertion
`cast<ConstantBool>(ConstantExpr::getSetLE(Lo, Hi))->getValue() && "Lo is not <=
Hi in range emission code!"' failed.
gccas((anonymous namespace)::PrintStackTrace()+0x18)[0x853c69c]
gccas((anonymous namespace)::SignalHandler(int)+0xdc)[0x853c902]
[0x46a420]
/lib/tls/libc.so.6(abort+0x1d2)[0xb2f872]
/lib/tls/libc.so.6(__assert_fail+0x108)[0xb27718]
gccas((anonymous namespace)::InstCombiner::InsertRangeTest(llvm::Value*,
llvm::Constant*, llvm::Constant*, bool, llvm::Instruction&)+0x5b)[0x834483b]
gccas((anonymous
namespace)::InstCombiner::visitSetCondInst(llvm::SetCondInst&)+0x2330)[0x834cc76]
gccas(llvm::InstVisitor<(anonymous namespace)::InstCombiner,
llvm::Instruction*>::visitSetEQ(llvm::SetCondInst&)+0x15)[0x839e679]gccas(llvm::InstVisitor<(anonymous
namespace)::InstCombiner,
llvm::Instruction*>::visit(llvm::Instruction&)+0x1ba)[0x839e31a]
gccas((anonymous
namespace)::InstCombiner::runOnFunction(llvm::Function&)+0x657)[0x835c111]
gccas(llvm::PassManagerTraits<llvm::Function>::runPass(llvm::FunctionPass*,
llvm::Function*)+0x1b)[0x84709d3]
gccas(llvm::PassManagerT<llvm::Function>::runOnUnit(llvm::Function*)+0x5c6)[0x84662b8]
gccas(llvm::PassManagerTraits<llvm::Function>::runOnFunction(llvm::Function&)+0x1b)[0x8466df5]
gccas(llvm::FunctionPass::runOnModule(llvm::Module&)+0xa6)[0x8417c64]
gccas(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::ModulePass*,
llvm::Module*)+0x1b)[0x8470a75]
gccas(llvm::PassManagerT<llvm::Module>::runOnUnit(llvm::Module*)+0x5c6)[0x84644e6]
gccas(llvm::PassManagerTraits<llvm::Module>::runOnModule(llvm::Module&)+0x1b)[0x8465ad1]
gccas(llvm::PassManager::run(llvm::Module&)+0x1f)[0x8417021]
gccas(main+0x7f6)[0x82e2e32]
/lib/tls/libc.so.6(__libc_start_main+0xe4)[0xb1bad4]
gccas[0x82e2135]
llvm-gcc: Internal error: Aborted (program as)



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