[llvm-branch-commits] [llvm] [BOLT] Support POSSIBLE_PIC_FIXED_BRANCH (PR #91667)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 18 18:20:41 PDT 2024
================
@@ -1876,6 +1876,13 @@ class X86MCPlusBuilder : public MCPlusBuilder {
// add %r2, %r1
// jmp *%r1
//
+ // or a fixed indirect jump template:
+ //
+ // movslq En(%rip), {%r2|%r1}
+ // lea PIC_JUMP_TABLE(%rip), {%r1|%r2} <- MemLocInstr
----------------
aaupov wrote:
Updated the comment. There's still MemLocInstr as a return argument.
https://github.com/llvm/llvm-project/pull/91667
More information about the llvm-branch-commits
mailing list