[PATCH] D65950: [RISCV] Add Option for Printing Architectural Register Names
Ana Pazos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 14:52:33 PDT 2019
apazos added inline comments.
================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp:43
+static cl::opt<bool>
+ ArchRegNames("riscv-arch-reg-names",
+ cl::desc("Print architectural register names such as x0-x31 "
----------------
Do we really need another flag? Or can we just reuse riscv-no-aliases?
I think with GNU toolchain, and when calling llvm-mc/llvm-objdump , -M no-aliases will avoid printing any aliases including architecture aliases. There is no separate flag for controlling printing arch reg names.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65950/new/
https://reviews.llvm.org/D65950
More information about the llvm-commits
mailing list