[LLVMdev] Register allocator assert

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Aug 27 11:03:32 PDT 2004


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.

Thank you,

-- 

Alkis




More information about the llvm-dev mailing list