[PATCH] D65950: [RISCV] Add Option for Printing Architectural Register Names
Sam Elliott via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 06:48:26 PDT 2019
lenary created this revision.
lenary added a reviewer: asb.
Herald added subscribers: llvm-commits, s.egerton, Jim, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, hiraditya.
Herald added a project: LLVM.
lenary added a parent revision: D65947: [RISCV] Allow ABI Names in Inline Assembly Constraints.
This is an option primarily to use during testing. Instead of always
printing registers using their ABI names, this allows a user to request they
are printed with their architectural name.
This is then used in the register constraint tests to ensure the mapping
between architectural and abi names is correct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65950
Files:
llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
llvm/test/CodeGen/RISCV/inline-asm-abi-names.ll
llvm/test/CodeGen/RISCV/inline-asm-d-abi-names.ll
llvm/test/CodeGen/RISCV/inline-asm-f-abi-names.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65950.214143.patch
Type: text/x-patch
Size: 169133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/5cebdc52/attachment-0001.bin>
More information about the llvm-commits
mailing list