[all-commits] [llvm/llvm-project] e12677: [RISCV] Add test cases showing missed opportunity ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 15 09:40:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e12677db8b1a5c2a7136f6089644d52c87be81d3
      https://github.com/llvm/llvm-project/commit/e12677db8b1a5c2a7136f6089644d52c87be81d3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/atomic-signext.ll

  Log Message:
  -----------
  [RISCV] Add test cases showing missed opportunity to remove sext.w after amo*.w. NFC

We should tell RISCVOptWInstrs that these instructions sign extend
their results.


  Commit: 1c033aaac97ed44b5efb2c472e6f1fe76303a682
      https://github.com/llvm/llvm-project/commit/1c033aaac97ed44b5efb2c472e6f1fe76303a682
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
    M llvm/test/CodeGen/RISCV/atomic-signext.ll

  Log Message:
  -----------
  [RISCV] Add IsSignExtendingOpW to AMO*_W instructions. (#72349)


Compare: https://github.com/llvm/llvm-project/compare/ec64af599421...1c033aaac97e


More information about the All-commits mailing list