Displaying 1 result from an estimated 1 matches for "liveregmap".
2012 Oct 30
2
[LLVMdev] [PATCH][Review request] MachineBasicBlock::iterator bug fix
...Fast.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(MachineBasicBlock::iterator MI, LiveRegMap::iterator);
Checking that mi is a real instruction before invoking isInsideBundle()
would be a better solution, but I wasn't sure how to go about it.
bundle_iterator(Ty *mi) : MII(mi) {
assert((!mi || !mi->isInsideBundle()) &&
"It's not legal to initialize...