diff options
author | Nikita Popov <npopov@redhat.com> | 2024-07-02 15:02:39 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-07-02 16:00:22 +0200 |
commit | 904e8f936495207cbb36a52fb8ca8183b44d6838 (patch) | |
tree | 44a396c1e7bf1b7fedf6bd0cef8ee293500a75a9 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e (diff) | |
download | llvm-904e8f936495207cbb36a52fb8ca8183b44d6838.zip llvm-904e8f936495207cbb36a52fb8ca8183b44d6838.tar.gz llvm-904e8f936495207cbb36a52fb8ca8183b44d6838.tar.bz2 |
[PassManager] Reuse StackTraceEntry across passes (NFC)
As suggested by aengelke, create the stack frame before the loop
and only update the pass inside it. This reduces the overhead
of repeatedly registering and unregistering the stack frames.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions