[all-commits] [llvm/llvm-project] a9f39f: [RISCV] Reorder RISCVInstrInfoA.td. NFC (#77539)

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jan 9 19:38:14 PST 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td

  Log Message:
  -----------
  [RISCV] Reorder RISCVInstrInfoA.td. NFC (#77539)

Move classes out of `let Predicates` scopes. The instantiation of the
class should be responsible for providing the Predicates.

Put the RV64 pseudoinstructions and patterns next to the RV32 version of
the same category. The categories are AMOs, pseudo AMOs, and compare
exchange. The main reason for this commit is that the compare exchange
patterns need to be disabled when Zacas is enabled so we can directly
select Zacas instructions with isel patterns. This necessitates compare
exchange having a different `let Predicates=` from the others anyway.




More information about the All-commits mailing list