[all-commits] [llvm/llvm-project] 7fa0a3: [LoongArch] Add an option for MCInstPrinter to pri...

wanglei via All-commits all-commits at lists.llvm.org
Thu Jan 19 00:42:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fa0a3c92377c2ce5b836b43e33a4a7107a3af38
      https://github.com/llvm/llvm-project/commit/7fa0a3c92377c2ce5b836b43e33a4a7107a3af38
  Author: wanglei <wanglei at loongson.cn>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.h
    A llvm/test/CodeGen/LoongArch/numeric-reg-names.ll
    A llvm/test/MC/LoongArch/Misc/numeric-reg-names.s

  Log Message:
  -----------
  [LoongArch] Add an option for MCInstPrinter to print numeric reg names

`-loongarch-numeric-reg` for llvm-mc and llc.
`-M numeric` (which matches GNU objdump) for llvm-objdump and llvm-mc.

Reviewed By: SixWeining

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




More information about the All-commits mailing list