Displaying 3 results from an estimated 3 matches for "setislandingpad".
2011 Nov 30
0
[LLVMdev] Problem using a label to a MachineBasicBlock
Using 'NEW_BB->setIsLandingPad(true);' seems to resolve everything.
Greetings,
Jeroen Dobbelaere
[...]
2011 Nov 30
2
[LLVMdev] Problem using a label to a MachineBasicBlock
Hi all,
I think that I came somewhat closer to a solution for splitting a
MachineBasicBlock for a PSEUDO_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
2012 Mar 22
1
[LLVMdev] Problem using a label to a MachineBasicBlock
...MBB2 as the terminator.
(quite similar to splitBasicBlock in BasicBlock.cpp)
Meanwhile, I am trying to come up with a variant of SplitCriticalEdge to do
this but if someone can provide the code to split a MBB, it will be of great
help.
Jeroen Dobbelaere-2 wrote:
>
> Using 'NEW_BB->setIsLandingPad(true);' seems to resolve everything.
>
> Greetings,
>
> Jeroen Dobbelaere
> [...]
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman...