[all-commits] [llvm/llvm-project] 5e4080: [AArch64] Consistently use EmitToStreamer across t...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Fri Sep 27 02:57:27 PDT 2024


  Branch: refs/heads/users/atrosinenko/aarch64-asm-printer-emittostreamer
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e4080d26de4d973717e3d74221396de1c5e1895
      https://github.com/llvm/llvm-project/commit/5e4080d26de4d973717e3d74221396de1c5e1895
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

  Log Message:
  -----------
  [AArch64] Consistently use EmitToStreamer across the AArch64AsmPrinter

In preparation for refactoring the instruction size checks being made
by PAuth-related code, switch all instruction emission in
AArch64AsmPrinter to using EmitToStreamer function.

Introduce a single-operand overload of `EmitToStreamer(MCInst)`, as the
only MCStreamer passed as the first argument is actually `*OutStreamer`.
To decrease the number of code lines changed due to clang-format, do not
touch the existing calls to two-argument EmitToStreamer function so far.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list