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

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Sep 26 04:16:28 PDT 2024


  Branch: refs/heads/users/atrosinenko/aarch64-asm-printer-emittostreamer
  Home:   https://github.com/llvm/llvm-project
  Commit: 06627f89a46f8b09fb763898c4dd17f874629604
      https://github.com/llvm/llvm-project/commit/06627f89a46f8b09fb763898c4dd17f874629604
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2024-09-25 (Wed, 25 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