aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-07-02 15:02:39 +0200
committerNikita Popov <npopov@redhat.com>2024-07-02 16:00:22 +0200
commit904e8f936495207cbb36a52fb8ca8183b44d6838 (patch)
tree44a396c1e7bf1b7fedf6bd0cef8ee293500a75a9 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parent9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e (diff)
downloadllvm-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