[PATCH] D146105: [AArch64] Add hex comments to mov-imm spellings in the InstPrinter

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 22:44:17 PDT 2023


paquette added inline comments.


================
Comment at: llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp:304
+      if (CommentStream) {
+        *CommentStream << '=' << formatHex((uint64_t)SExtVal) << '\n';
+      }
----------------
`static_cast` is more greppable


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146105/new/

https://reviews.llvm.org/D146105



More information about the llvm-commits mailing list