[all-commits] [llvm/llvm-project] e94011: [RISCV] 'Zalrsc' may permit non-base instructions ...

slachowsky via All-commits all-commits at lists.llvm.org
Tue Oct 28 12:51:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e940119b504711741785236367a1fdc52ceca032
      https://github.com/llvm/llvm-project/commit/e940119b504711741785236367a1fdc52ceca032
  Author: slachowsky <slachowsky at apple.com>
  Date:   2025-10-28 (Tue, 28 Oct 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    A llvm/test/CodeGen/RISCV/atomic-rmw-minmax.ll
    M llvm/test/CodeGen/RISCV/features-info.ll

  Log Message:
  -----------
  [RISCV] 'Zalrsc' may permit non-base instructions (#165042)

Provide shorter atomic LR/SC sequences with non-base instructions (eg.
''B'' extension instructions) when implementations opt in to
FeaturePermissiveZalrsc. Currently this shortens `atomicrmw
{min,max,umin,umax}` pseudo expansions.

There is no functional change for machines when this target feature is
not requested.



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