[PATCH] D76007: [TableGen][GlobalISel] Account for HwMode in RegisterBank register sizes

Nitin John Raj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 18:16:27 PDT 2023


nitinjohnraj added inline comments.


================
Comment at: llvm/utils/TableGen/RegisterBankEmitter.cpp:268
+    OS << "    // Mode = " << M << " (";
+    if (M == 0)
+      OS << "Default";
----------------
Use predefined constant `DefaultMode`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76007



More information about the llvm-commits mailing list