[PATCH] D117227: [RISCV][NFC] Use TableGen 'foreach' to simplify repetitive CSR definitions
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 13 07:44:33 PST 2022
asb created this revision.
asb added reviewers: craig.topper, luismarques, achieveartificialintelligence.
Herald added subscribers: VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
asb requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
Make the definitions of hpmcounter3-hpmcounter31,
hpmcounter3h-hpmcounter31h, mhpmcounter3-mhpmcounter31,
mhpmcounter3h-mhpmcounter31h, pmpaddr0-pmpaddr63, and mhpmevent3-31
substantially less repetitive using a foreach loop.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117227
Files:
llvm/lib/Target/RISCV/RISCVSystemOperands.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117227.399677.patch
Type: text/x-patch
Size: 9778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220113/f0125288/attachment.bin>
More information about the llvm-commits
mailing list