[all-commits] [llvm/llvm-project] 337851: [RISCV] Use any_extend for type legalizing atomic_...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jan 10 12:41:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3378514a4da2a09abf644273c7170ffebbd25b43
      https://github.com/llvm/llvm-project/commit/3378514a4da2a09abf644273c7170ffebbd25b43
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll

  Log Message:
  -----------
  [RISCV] Use any_extend for type legalizing atomic_compare_swap with Zacas. (#77669)

With Zacas we will use amocas.w which doesn't require the input to be
sign extended.




More information about the All-commits mailing list