[all-commits] [llvm/llvm-project] bfe8a2: [RISCV][ISEL] Lowering to load-acquire/store-relea...

Brendan Sweeney via All-commits all-commits at lists.llvm.org
Tue Dec 17 00:20:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfe8a21bad7e90629fb079217929a79e7377d8b3
      https://github.com/llvm/llvm-project/commit/bfe8a21bad7e90629fb079217929a79e7377d8b3
  Author: Brendan Sweeney <brs at eecs.berkeley.edu>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZalasr.td
    M llvm/test/CodeGen/RISCV/atomic-load-store.ll

  Log Message:
  -----------
  [RISCV][ISEL] Lowering to load-acquire/store-release for RISCV Zalasr (#82914)

Lowering to load-acquire/store-release for RISCV Zalasr.

Currently uses the psABI lowerings for WMO load-acquire/store-release
(which are identical to A.7). These are incompatable with the A.6
lowerings currently used by LLVM. This should be OK for now since Zalasr
is behind the enable experimental extensions flag, but needs to be fixed
before it is removed from that.

For TSO, it uses the standard Ztso mappings except for lowering seq_cst
loads/store to load-acquire/store-release, I had Andrea review that.



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