[all-commits] [llvm/llvm-project] a9adb6: [AsmPrinter] Use getMnemonic for instruction-mix r...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Nov 17 04:13:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a9adb62a640621814d528691b76964209505ebb8
      https://github.com/llvm/llvm-project/commit/a9adb62a640621814d528691b76964209505ebb8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/test/CodeGen/AArch64/arm64-instruction-mix-remarks.ll

  Log Message:
  -----------
  [AsmPrinter] Use getMnemonic for instruction-mix remark.

This patch uses the new `getMnemonic` helper from D90039
to display mnemonics instead of the internal opcodes.

The main motivation behind using the mnemonics is that they
are more user-friendly and more directly related to the assembly
the users will be presented.

Reviewed By: paquette

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




More information about the All-commits mailing list