summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2018-04-09 00:54:47 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2018-04-09 00:54:47 +0000
commit8d052a0dd23f1fd9e3fba1912bd514d2fd687871 (patch)
treead81c20e7d446571f2f0c4427a501c6b6d7495b8 /clang/lib/Frontend/CompilerInvocation.cpp
parentba0543b32bf0c9a32b0f0d2dfbb7d31de7962570 (diff)
downloadbcm5719-llvm-8d052a0dd23f1fd9e3fba1912bd514d2fd687871.tar.gz
bcm5719-llvm-8d052a0dd23f1fd9e3fba1912bd514d2fd687871.zip
Remove MachineLoopInfo dependency from AsmPrinter.
Summary: Currently MachineLoopInfo is used in only two places: 1) for computing IsBasicBlockInsideInnermostLoop field of MCCodePaddingContext, and it is never used. 2) in emitBasicBlockLoopComments, which is called only if `isVerbose()` is true. Despite that, we currently have a dependency on MachineLoopInfo, which makes pass manager to compute it and MachineDominator Tree. This patch removes the use (1) and makes the use (2) lazy, thus avoiding some redundant recomputations. Reviewers: opaparo, gadi.haber, rafael, craig.topper, zvi Subscribers: rengolin, javed.absar, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D44812 llvm-svn: 329542
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud