[PATCH] D106503: MCSubtargetInfo: Add debugging 'features' that dump current CPU bit state

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 16:01:07 PST 2022


arsenm requested changes to this revision.
arsenm added inline comments.
This revision now requires changes to proceed.
Herald added a project: All.


================
Comment at: llvm/lib/MC/MCSubtargetInfo.cpp:215
       cpuHelp(ProcDesc);
+    else if (Feature == "+dump-all")
+      PrintFullFeatureList(Bits, ProcFeatures, /*EnabledOnly=*/false);
----------------
Probably should be help rather than dump for consistency with the others


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

https://reviews.llvm.org/D106503



More information about the llvm-commits mailing list