[all-commits] [llvm/llvm-project] ec1c73: [compiler-rt][ARM] Only use bxaut when the target ...

John Brawn via All-commits all-commits at lists.llvm.org
Fri Jun 27 05:26:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec1c73b2ecb3c3fb04a09c18e2411c067bf22fce
      https://github.com/llvm/llvm-project/commit/ec1c73b2ecb3c3fb04a09c18e2411c067bf22fce
  Author: John Brawn <john.brawn at arm.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M compiler-rt/lib/builtins/arm/aeabi_cdcmp.S
    M compiler-rt/lib/builtins/arm/aeabi_cfcmp.S
    M compiler-rt/lib/builtins/arm/aeabi_dcmp.S
    M compiler-rt/lib/builtins/arm/aeabi_fcmp.S
    M compiler-rt/lib/builtins/arm/aeabi_idivmod.S
    M compiler-rt/lib/builtins/arm/aeabi_ldivmod.S
    M compiler-rt/lib/builtins/arm/aeabi_uidivmod.S
    M compiler-rt/lib/builtins/arm/aeabi_uldivmod.S
    M compiler-rt/lib/builtins/assembly.h

  Log Message:
  -----------
  [compiler-rt][ARM] Only use bxaut when the target has pacbti (#146057)

Most pacbti instructions are a nop when the target does not have pacbti,
and thus safe to execute, but bxaut is an undefined instruction. When we
don't have pacbti (e.g. if we're compiling compiler-rt with
-mbranch-protection=standard in order to be forward-compatible with
pacbti while still working on targets without it) then we need to use
separate aut and bx instructions.



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