[all-commits] [llvm/llvm-project] 405861: [Hexagon] Register MachineKCFILegacy pass in LLVMI...

Brian Cain via All-commits all-commits at lists.llvm.org
Mon Jul 13 19:21:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4058610aecb6d261f3ea1777dd5c0e531a5cc17e
      https://github.com/llvm/llvm-project/commit/4058610aecb6d261f3ea1777dd5c0e531a5cc17e
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp

  Log Message:
  -----------
  [Hexagon] Register MachineKCFILegacy pass in LLVMInitializeHexagonTarget (#209245)

Hexagon's target-init function never called
initializeMachineKCFILegacyPass(PR), unlike X86, ARM, AArch64, and
RISCV. Since PassRegistry is process-wide and each target's init
function registers passes as a side effect when linked into the same
binary, whether test/CodeGen/Hexagon/kcfi.ll passed depended on whether
some other target providing that registration was also built into llc,
rather than on Hexagon's own configuration.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list