[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
Mon Sep 3 03:11:22 PDT 2018


fedor.sergeev added a comment.

In https://reviews.llvm.org/D51535#1221730, @skatkov wrote:

> Could you please add a test producing something with #2 and #3... I guess any loop pass for function with 2-3 loops should work.


Nope, 2-3 loops wont add #2/#3.
Numbering is for instances of the pass in the pass pipeline.
Current test will generate #2 for the second instcombine, so I will add it to the pattern.
Will also add a couple loops to make it more evident that multiple "IR units" do not affect the count.


Repository:
  rL LLVM

https://reviews.llvm.org/D51535





More information about the llvm-commits mailing list