[PATCH] D86390: [llvm-mca][NFC] Refactor instruction printing

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 19:26:36 PDT 2020


wolfgangp created this revision.
wolfgangp added reviewers: andreadb, lebedev.ri.
Herald added a subscriber: gbedwell.
Herald added a project: LLVM.
wolfgangp requested review of this revision.

There are several places where views generate an ASCII form of a machine instruction.  Use a helper function.

This is another preparatory patch for JSON generation.


https://reviews.llvm.org/D86390

Files:
  llvm/tools/llvm-mca/Views/BottleneckAnalysis.cpp
  llvm/tools/llvm-mca/Views/InstructionInfoView.cpp
  llvm/tools/llvm-mca/Views/ResourcePressureView.cpp
  llvm/tools/llvm-mca/Views/TimelineView.cpp
  llvm/tools/llvm-mca/Views/View.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86390.287147.patch
Type: text/x-patch
Size: 5967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200822/c1a5eb10/attachment.bin>


More information about the llvm-commits mailing list