[all-commits] [llvm/llvm-project] 7f031d: [BOLT] Fix address mapping for ICP code (#70136)

maksfb via All-commits all-commits at lists.llvm.org
Mon Nov 6 11:26:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f031d1c7c964fec638e4037c70ed16737b070fe
      https://github.com/llvm/llvm-project/commit/7f031d1c7c964fec638e4037c70ed16737b070fe
  Author: maksfb <maks at fb.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/IndirectCallPromotion.cpp
    M bolt/test/X86/jump-table-icp.test

  Log Message:
  -----------
  [BOLT] Fix address mapping for ICP code (#70136)

When we create new code for indirect code promotion optimization, we
should mark it as originating from the indirect jump instruction for
BOLT address translation (BAT) to map it to the original instruction.




More information about the All-commits mailing list