diff options
| author | Michael Zolotukhin <mzolotukhin@apple.com> | 2018-03-20 17:02:29 +0000 |
|---|---|---|
| committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2018-03-20 17:02:29 +0000 |
| commit | fb3f509e01b8365e090fd727119125872d0ad85b (patch) | |
| tree | fae90ca79bd7d71a706cd315ac841cb924156f37 /llvm/test | |
| parent | 54b161e47f51428763a8e4cd4d952d9e58301a89 (diff) | |
| download | bcm5719-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.ll | 2 |
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 |

