summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-07-06 16:23:00 +0000
committerTeresa Johnson <tejohnson@google.com>2015-07-06 16:23:00 +0000
commit8749d80431cb9b9f0a51c8b65b0eb9366459b1a8 (patch)
treea5e673cc0c54efdebb72310ca5265816a88d98ab /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parentd3a33a16bb002d273ae47ad09ef6de38a0c86fdb (diff)
downloadbcm5719-llvm-8749d80431cb9b9f0a51c8b65b0eb9366459b1a8.tar.gz
bcm5719-llvm-8749d80431cb9b9f0a51c8b65b0eb9366459b1a8.zip
Resubmit "Pass down the -flto option to the -cc1 job" (r239481)
The patch is the same except for the addition of a new test for the issue that required reverting the dependent llvm commit. --Original Commit Message-- Pass down the -flto option to the -cc1 job, and from there into the CodeGenOptions and onto the PassManagerBuilder. This enables gating the new EliminateAvailableExternally module pass on whether we are preparing for LTO. If we are preparing for LTO (e.g. a -flto -c compile), the new pass is not included as we want to preserve available externally functions for possible link time inlining. llvm-svn: 241467
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud