Displaying 1 result from an estimated 1 matches for "lbb1_".
Did you mean:
lbb1_1
2010 Jun 18
1
[LLVMdev] Problem adding a MachineBasicBlock during X86 EmitPrologue
...//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:
_main:
...
jae "LBB1_-1"
...
There is no label created "LBB1_-1" and the block containing the ret
instruction is missing.
If I attempt to do an insertion operation, assuming it doesn't insert
at the end() of the machine function, the code in MF.overflowBlock
replaces the code in the block that...