aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorValery Pykhtin <valery.pykhtin@gmail.com>2022-10-19 18:07:19 +0200
committerValery Pykhtin <valery.pykhtin@gmail.com>2022-12-02 09:05:22 +0100
commit2d09bec169277fb5a341249afacff532c7511756 (patch)
tree4065db731c98330edc3b2fc5a17b09116052a868 /llvm/lib/CodeGen/StackProtector.cpp
parent74034588bd1cf719f4838c57583bdd1e1ceb1064 (diff)
downloadllvm-2d09bec169277fb5a341249afacff532c7511756.zip
llvm-2d09bec169277fb5a341249afacff532c7511756.tar.gz
llvm-2d09bec169277fb5a341249afacff532c7511756.tar.bz2
[AMDGPU] Speedup GCNDownwardRPTracker::advanceBeforeNext
The function makes liveness tests for the entire live register set for every instruction it passes by. This becomes very slow on high RP regions such as ASAN enabled code. Instead only uses of last tracked instruction should be tested and this greatly improves compilation time. This patch revealed few bugs in SIFormMemoryClauses and PreRARematStage::sinkTriviallyRematInsts which should be fixed first. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D136267
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions