summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2018-03-20 17:02:29 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2018-03-20 17:02:29 +0000
commitfb3f509e01b8365e090fd727119125872d0ad85b (patch)
treefae90ca79bd7d71a706cd315ac841cb924156f37 /llvm/test
parent54b161e47f51428763a8e4cd4d952d9e58301a89 (diff)
downloadbcm5719-llvm-fb3f509e01b8365e090fd727119125872d0ad85b.tar.gz
bcm5719-llvm-fb3f509e01b8365e090fd727119125872d0ad85b.zip
[XRay] Lazily compute MachineLoopInfo instead of requiring it.
Summary: Currently X-Ray Instrumentation pass has a dependency on MachineLoopInfo (and thus on MachineDominatorTree as well) and we have to compute them even if X-Ray is not used. This patch changes it to a lazy computation to save compile time by avoiding these redundant computations. Reviewers: dberris, kubamracek Subscribers: llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D44666 llvm-svn: 327999
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/O0-pipeline.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/O0-pipeline.ll b/llvm/test/CodeGen/X86/O0-pipeline.ll
index 2017fd72a31..2628ca33fb1 100644
--- a/llvm/test/CodeGen/X86/O0-pipeline.ll
+++ b/llvm/test/CodeGen/X86/O0-pipeline.ll
@@ -55,8 +55,6 @@
; CHECK-NEXT: StackMap Liveness Analysis
; CHECK-NEXT: Live DEBUG_VALUE analysis
; CHECK-NEXT: Insert fentry calls
-; CHECK-NEXT: MachineDominator Tree Construction
-; CHECK-NEXT: Machine Natural Loop Construction
; CHECK-NEXT: Insert XRay ops
; CHECK-NEXT: Implement the 'patchable-function' attribute
; CHECK-NEXT: X86 Retpoline Thunks
OpenPOWER on IntegriCloud