[all-commits] [llvm/llvm-project] 4a4a65: [RISCV][NFC] Use TableGen 'foreach' to simplify re...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Fri Jan 14 03:59:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a4a652f34d00120867757fd19aac3c8d85d9451
      https://github.com/llvm/llvm-project/commit/4a4a652f34d00120867757fd19aac3c8d85d9451
  Author: Alex Bradbury <asb at lowrisc.org>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

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

  Log Message:
  -----------
  [RISCV][NFC] Use TableGen 'foreach' to simplify repetitive CSR definitions

Make the definitions of hpmcounter3-hpmcounter31,
hpmcounter3h-hpmcounter31h, mhpmcounter3-mhpmcounter31,
mhpmcounter3h-mhpmcounter31h, pmpaddr0-pmpaddr63, mhpmevent3-31, and
pmpcfg0-15 substantially less repetitive using a foreach loop.

Differential Revision: https://reviews.llvm.org/D117227




More information about the All-commits mailing list