summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopRotate
diff options
context:
space:
mode:
authorFedor Sergeev <fedor.sergeev@azul.com>2017-12-29 08:16:06 +0000
committerFedor Sergeev <fedor.sergeev@azul.com>2017-12-29 08:16:06 +0000
commit02e7f0247b868adf0a6e4146cbaec1205f409f9e (patch)
tree2267baa8ca63a9c526ae1445fd1c75e1c5fdca3b /llvm/test/Transforms/LoopRotate
parentd2fe244a6aa3fa0d24686d630aff7e4f1287e227 (diff)
downloadbcm5719-llvm-02e7f0247b868adf0a6e4146cbaec1205f409f9e.tar.gz
bcm5719-llvm-02e7f0247b868adf0a6e4146cbaec1205f409f9e.zip
[PM] pass -debug-pass-manager flag into FunctionToLoopPassAdaptor's canonicalization PM
Summary: New pass manager driver passes DebugPM (-debug-pass-manager) flag into individual PassManager constructors in order to enable debug logging. FunctionToLoopPassAdaptor has its own internal LoopCanonicalizationPM which never gets its debug logging enabled and that means canonicalization passes like LoopSimplify are never present in -debug-pass-manager output. Extending FunctionToLoopPassAdaptor's constructor and createFunctionToLoopPassAdaptor wrapper with an optional boolean DebugLogging argument. Passing debug-logging flags there as appropriate. Reviewers: chandlerc, davide Reviewed By: davide Subscribers: mehdi_amini, eraman, llvm-commits, JDevlieghere Differential Revision: https://reviews.llvm.org/D41586 llvm-svn: 321548
Diffstat (limited to 'llvm/test/Transforms/LoopRotate')
-rw-r--r--llvm/test/Transforms/LoopRotate/pr35210.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopRotate/pr35210.ll b/llvm/test/Transforms/LoopRotate/pr35210.ll
index 492922038b2..356c7db243b 100644
--- a/llvm/test/Transforms/LoopRotate/pr35210.ll
+++ b/llvm/test/Transforms/LoopRotate/pr35210.ll
@@ -9,8 +9,12 @@
; CHECK-NEXT: Running analysis: DominatorTreeAnalysis on f
; CHECK-NEXT: Running analysis: PostDominatorTreeAnalysis on f
; CHECK-NEXT: Running pass: FunctionToLoopPassAdaptor{{.*}} on f
+; CHECK-NEXT: Starting llvm::Function pass manager run.
+; CHECK-NEXT: Running pass: LoopSimplifyPass on f
; CHECK-NEXT: Running analysis: LoopAnalysis on f
; CHECK-NEXT: Running analysis: AssumptionAnalysis on f
+; CHECK-NEXT: Running pass: LCSSAPass on f
+; CHECK-NEXT: Finished llvm::Function pass manager run.
; CHECK-NEXT: Running analysis: AAManager on f
; CHECK-NEXT: Running analysis: TargetLibraryAnalysis on f
; CHECK-NEXT: Running analysis: ScalarEvolutionAnalysis on f
OpenPOWER on IntegriCloud