[PATCH] D51535: [PassTiming] reporting time-passes separately for multiple pass instances of the same pass

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 04:30:47 PDT 2018


fedor.sergeev created this revision.
fedor.sergeev added reviewers: paquette, jhenderson, MatzeB, skatkov.

Refactoring done by https://reviews.llvm.org/rL340872 accidentally appeared to be non-NFC, changing the way how
multiple instances of the same pass are handled - aggregation of results by PassName
forced data for multiple instances to be merged together and reported as one line.

Getting back to creating/reporting timers per pass instance.
Reporting was a bit enhanced by counting pass instances and adding #<num> suffix
to the pass description.

time-passes test updated to account for multiple passes being run.


Repository:
  rL LLVM

https://reviews.llvm.org/D51535

Files:
  include/llvm/IR/PassTimingInfo.h
  lib/IR/PassTimingInfo.cpp
  test/Other/time-passes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51535.163504.patch
Type: text/x-patch
Size: 5790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/7c99596c/attachment.bin>


More information about the llvm-commits mailing list