Displaying 1 result from an estimated 1 matches for "mbb11".
Did you mean:
bbb11
2011 Nov 30
2
[LLVMdev] Problem using a label to a MachineBasicBlock
...nt foo(int a, int b)
{
return c01(a,b); // MachineBasicBlock will be split at call instruction
}
---
I have initially following correspondence:
BB1 -> MBB10 (aka, BasicBlock 1 corresponds to MachineBasicBlock 10)
After splitting MBB10 at the call instruction, we get :
BB1 -> MBB10, MBB11
Because I need the address of MBB11, I found that I need to ensure
that 'MBB11->hasAddressTaken()' returns true. Otherwise it can be optimized
away.
This can be done by:
MBB11->setHasAddressTaken();
But this is not sufficient: an assertion failure in
llvm::MMIAddrLabelMap::ge...