[PATCH] D86177: [llvm-mca][NFC] Separate calculation of display data from its display in the summary and instruction info views
    Wolfgang Pieb via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug 18 16:08:42 PDT 2020
    
    
  
wolfgangp created this revision.
wolfgangp added reviewers: andreadb, RKSimon.
Herald added a subscriber: gbedwell.
Herald added a project: LLVM.
wolfgangp requested review of this revision.
This is a preparatory patch for PR47227 <https://bugs.llvm.org/show_bug.cgi?id=47227>. We want to separate the calculation of display data from its display for the MCA views with the goal to then alternatively generate JSON (serialized) output.
We move the calculations to methods by the name of //collectData()// before displaying the data.
https://reviews.llvm.org/D86177
Files:
  llvm/tools/llvm-mca/Views/InstructionInfoView.cpp
  llvm/tools/llvm-mca/Views/InstructionInfoView.h
  llvm/tools/llvm-mca/Views/SummaryView.cpp
  llvm/tools/llvm-mca/Views/SummaryView.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86177.286416.patch
Type: text/x-patch
Size: 10069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200818/6ea268ec/attachment.bin>
    
    
More information about the llvm-commits
mailing list