[LLVMdev] Register allocator assert

Vladimir Prus ghost at cs.msu.su
Mon Aug 30 00:04:59 PDT 2004


Hi Alkis,
> On Fri, 2004-08-27 at 08:05, Vladimir Prus wrote:
> > Hello,
> > I'm getting an assertion in register allocator, specifically in
> > LiveIntervalAnalysis.h, method LiveIntervals::getInstructionIndex:
> >
> >  unsigned getInstructionIndex(MachineInstr* instr) const {
> >       Mi2IndexMap::const_iterator it = mi2iMap_.find(instr);
> >       assert(it != mi2iMap_.end() && "Invalid instruction!");
> >       return it->second;
> >     }
>
> Hello Vladimir,
>
> Can you checkout the latest RegAllocLinearScan and RegAllocIterativeScan
> versions and retry? I've checked a fix for something I commited last
> night which was giving me the same assertion failure.

My testcase now works. Thanks a lot!


- Volodya




More information about the llvm-dev mailing list