[PATCH] D141479: [RISCV] Generate march string from target features
Wang Pengcheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 04:16:07 PST 2023
pcwang-thead created this revision.
pcwang-thead added reviewers: fpetrogalli, craig.topper, reames, jrtc27, kito-cheng.
Herald added subscribers: sunshaoce, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
pcwang-thead requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.
As what has been mentioned in D137517 <https://reviews.llvm.org/D137517>, this patch is to simplify
processors definitions in RISCV.td. We don't have to specify march
string since we can generate it from target features.
The disadvantage is that the generated march string is too tedious.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141479
Files:
llvm/lib/Target/RISCV/RISCV.td
llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141479.488151.patch
Type: text/x-patch
Size: 9126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230111/43b54313/attachment.bin>
More information about the llvm-commits
mailing list