search for: overflowblock

Displaying 1 result from an estimated 1 matches for "overflowblock".

2010 Jun 18
1
[LLVMdev] Problem adding a MachineBasicBlock during X86 EmitPrologue
...before any code is run (specifically, I cannot allow any stack operations). Because of this, I figured a good place to do this code insertion is in EmitPrologue. I also, at this time, create the block that handles the error case. // create a new block for the overflow handling code MF.overflowBlock = MF.CreateMachineBasicBlock(); MachineFunction::iterator obinsert = MF.begin(); MF.addToMBBNumbering(MF.overflowBlock); MF.push_back(MF.overflowBlock); // on overflow jump to a new block to handle overflow BuildMI(MBB, MBBI, DL, TII.get(X86::JAE_4)).addMBB(MF.overflow...