Displaying 1 result from an estimated 1 matches for "spillvirtreg".
2012 Oct 30
2
[LLVMdev] [PATCH][Review request] MachineBasicBlock::iterator bug fix
...eBasicBlock (this=0x240d200) at
/scratch/tmp/octeon/llvm-test/source/lib/CodeGen/RegAllocFast.cpp:1101
1. spillAll(MBB->getFirstTerminator()) at RegAllocFast.cpp:1101 is invoked.
getFirstTerminator returns an end iterator here and is converted to
MachineInstr* when it is passed to spillAll.
2. spillVirtReg(MI, i) at RegAllocFast.cpp:324 is invoked. constructor of
MachineBasicBlock::iterator in MachineBasicBlock.cpp:152 is called and
asserts when mi->isInsideBundle returns true.
These are the signaltures of spillAll and spillVirtReg:
void spillAll(MachineInstr *MI);
void spillVirtReg(MachineBasicB...