[all-commits] [llvm/llvm-project] 3435a6: [AArch64] [XRay] Account for XRay event instrs in ...

Daniel Hoekwater via All-commits all-commits at lists.llvm.org
Thu Jul 27 10:12:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3435a6a0bbdda0541c4ba136f37740d171cc223b
      https://github.com/llvm/llvm-project/commit/3435a6a0bbdda0541c4ba136f37740d171cc223b
  Author: Daniel Hoekwater <hoekwater at google.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/branch-relax-xray.ll

  Log Message:
  -----------
  [AArch64] [XRay] Account for XRay event instrs in Branch Relaxation

PATCHABLE_TYPED_EVENT_CALL and PATCHABLE_EVENT_CALL are pseudo
instructions that expand to XRay sleds, so getInstSizeInBytes
should reflect the size of the sleds, not the pseudo-instructions.

Differential Revision: https://reviews.llvm.org/D156272




More information about the All-commits mailing list