commit | eb6eb153d9dc22bf006f260d3975babe075da5f2 | [log] [tgz] |
---|---|---|
author | Diego Novillo <dnovillo@google.com> | Tue Aug 25 15:25:11 2015 +0000 |
committer | Diego Novillo <dnovillo@google.com> | Tue Aug 25 15:25:11 2015 +0000 |
tree | 11af066b3d6b3da843681186344c84b506ad343d | |
parent | 39e2b39af73395ed670502b9d3bc7fff359af247 [diff] |
Convert SampleProfile pass into a Module pass. Eventually, we will need sample profiles to be incorporated into the inliner's cost models. To do this, we need the sample profile pass to be a module pass. This patch makes no functional changes beyond the mechanical adjustments needed to run SampleProfile as a module pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245940 91177308-0d34-0410-b5e6-96231b3b80d8