[all-commits] [llvm/llvm-project] e6ae4e: [PowerPC] Indicate that PPC32PICGOT clobbers LR (#...

Josh Stone via All-commits all-commits at lists.llvm.org
Mon Aug 25 15:31:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6ae4e689cd6511987aecd1d0678cad317ea3f33
      https://github.com/llvm/llvm-project/commit/e6ae4e689cd6511987aecd1d0678cad317ea3f33
  Author: Josh Stone <jistone at redhat.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    A llvm/test/CodeGen/PowerPC/tls-picgot.ll

  Log Message:
  -----------
  [PowerPC] Indicate that PPC32PICGOT clobbers LR (#154654)

This pseudo-instruction emits a local `bl` writing LR, so that must be
saved and restored for the function to return to the right place. If
not, we'll return to the inline `.long` that the `bl` stepped over.

This fixes the `SIGILL` seen in rayon-rs/rayon#1268.



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