Displaying 1 result from an estimated 1 matches for "jae_4".
Did you mean:
jae_1
2010 Jun 18
1
[LLVMdev] Problem adding a MachineBasicBlock during X86 EmitPrologue
...ode
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.overflowBlock);
//add dummy instruction to overflow block
BuildMI(MF.overflowBlock, DL, TII.get(X86::RET));
The problem is that the block doesn't appear in generate code if the
code starts with more than one basic block. I get x86 code that looks
something like this:...