[all-commits] [llvm/llvm-project] 43f106: [lld-macho] Enable Linker Optimization Hints pass ...

Daniel Bertalan via All-commits all-commits at lists.llvm.org
Wed Jul 16 12:30:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43f10639a18b2b8fb0976f3bde84a9d240647915
      https://github.com/llvm/llvm-project/commit/43f10639a18b2b8fb0976f3bde84a9d240647915
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M lld/MachO/LinkerOptimizationHints.cpp
    M lld/MachO/Writer.cpp
    A lld/test/MachO/loh-arm64-32.s

  Log Message:
  -----------
  [lld-macho] Enable Linker Optimization Hints pass for arm64_32 (#148964)

The backend emits `.loh` directives for arm64_32 as well. Our pass
already handles 32-bit pointer loads correctly (there was an extraneous
sanity check for 8-byte pointer sizes, I removed that here), so we can
enable them for all arm64 subtargets, including our upcoming arm64e
support.



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