[all-commits] [llvm/llvm-project] 73a117: [llvm-mc] Add -M to replace -riscv-no-aliases and ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 26 10:43:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73a117953599af58645d944e68076ec8fb052540
      https://github.com/llvm/llvm-project/commit/73a117953599af58645d944e68076ec8fb052540
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCInstPrinter.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
    M llvm/test/MC/RISCV/numeric-reg-names-d.s
    M llvm/test/MC/RISCV/numeric-reg-names-f.s
    M llvm/test/MC/RISCV/numeric-reg-names.s
    M llvm/test/MC/RISCV/rvi-aliases-valid.s
    A llvm/test/tools/llvm-mc/disassembler-options.test
    M llvm/tools/llvm-mc/llvm-mc.cpp

  Log Message:
  -----------
  [llvm-mc] Add -M to replace -riscv-no-aliases and -riscv-arch-reg-names

In objdump, many targets support `-M no-aliases`.  Instead of having a
`-*-no-aliases` for each target when LLVM adds the support, it makes more sense
to introduce objdump style `-M`.

-riscv-arch-reg-names is removed. -riscv-no-aliases has too many uses and thus is retained for now.

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D103004




More information about the All-commits mailing list