[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
Wed Mar 15 10:43:46 PDT 2023


paquette added inline comments.


================
Comment at: llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp:303
+        << formatImm(SExtVal) << markup(">");
+      if (CommentStream) {
+        uint64_t HexVal = static_cast<uint64_t>(SExtVal);
----------------
this could be factored out into a function?


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