Displaying 1 result from an estimated 1 matches for "mbb10".
Did you mean:
bb10
2011 Nov 30
2
[LLVMdev] Problem using a label to a MachineBasicBlock
...CALL_R instruction and having a label to the new MBB:
For following piece of code:
---
typedef int callme_t(int a, int b);
callme_t* c01;
int 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
aw...