[PATCH] D108189: [RISCV] Add arch attribute support for P extension
Jim Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 23:37:04 PDT 2021
Jim created this revision.
Herald added subscribers: vkmr, frasercrmck, jdoerfert, evandro, luismarques, apazos, sameer.abuasal, s.egerton, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Jim requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Support emitting and accepting P extension's arch string.
This also fixes that 'p' treated as version number must have a number in front of it.
Otherwise, 'p' means P extension.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108189
Files:
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
llvm/test/CodeGen/RISCV/attributes.ll
llvm/test/MC/RISCV/attribute-arch-invalid.s
llvm/test/MC/RISCV/attribute-arch.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108189.366812.patch
Type: text/x-patch
Size: 9909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/0fc77f54/attachment.bin>
More information about the llvm-commits
mailing list