search for: call_to_reg

Displaying 1 result from an estimated 1 matches for "call_to_reg".

2011 Nov 29
0
[LLVMdev] Problem using a label to a basic block
...cing the call (which is at the end of the first basic block) with : -- Loading the link register with the address of the new basic block -- and generating a 'CALL_R' which in the end results in a 'branch to register' (but, for llvm, it is treated as a call) So: __BB_2: ... call_to_reg Rx ... results in: __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...