Displaying 1 result from an estimated 1 matches for "__bb_22".
Did you mean:
__bb_2
2011 Nov 29
0
[LLVMdev] Problem using a label to a basic block
...n:
__BB_2:
...
load_immediate R15, __BB_3
branch_to_reg Rx
__BB_3:
...
where __BB_2 falls through to __BB__3
This works when the optimization level is low.
At higher optimization levels I am observing the following :
load_immediate R15, __BB_3
branch_to_reg Rx
__BB_3:
branch_to __BB_22
is converted into
load_immediate R15, "__BB_-1" // basic block 3 was removed
branch_to_reg Rx
__BB_22:
...
How do I learn my backend that, when the successor of __BB_2 changes,
that it also needs to update the 'load_immediate' with the new successor ?
(Or maybe, there i...