[llvm-branch-commits] [llvm] [BOLT] Support POSSIBLE_PIC_FIXED_BRANCH (PR #91667)

Rafael Auler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 18 13:11:56 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
----------------
rafaelauler wrote:

Update this comment and the one above it to reflect the new matching logic: there is no MemLocInstr anymore

https://github.com/llvm/llvm-project/pull/91667


More information about the llvm-branch-commits mailing list