diff options
author | Diego Novillo <dnovillo@google.com> | 2015-08-25 15:25:11 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-08-25 15:25:11 +0000 |
commit | 4d71113cdb81af02305f643c9176ba3bfb1be5db (patch) | |
tree | cc460f74c14bb639a4f11a3a1bb02aa6ca411852 /llvm/lib/Transforms/Scalar/Scalar.cpp | |
parent | 627cbd31d18207192fa7970d16c63a7d5ab3beae (diff) | |
download | bcm5719-llvm-4d71113cdb81af02305f643c9176ba3bfb1be5db.tar.gz bcm5719-llvm-4d71113cdb81af02305f643c9176ba3bfb1be5db.zip |
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.
llvm-svn: 245940
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Scalar.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/Scalar.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Scalar.cpp b/llvm/lib/Transforms/Scalar/Scalar.cpp index a0180f13c1d..54b78e36965 100644 --- a/llvm/lib/Transforms/Scalar/Scalar.cpp +++ b/llvm/lib/Transforms/Scalar/Scalar.cpp @@ -33,7 +33,6 @@ void llvm::initializeScalarOpts(PassRegistry &Registry) { initializeADCEPass(Registry); initializeBDCEPass(Registry); initializeAlignmentFromAssumptionsPass(Registry); - initializeSampleProfileLoaderPass(Registry); initializeConstantHoistingPass(Registry); initializeConstantPropagationPass(Registry); initializeCorrelatedValuePropagationPass(Registry); |