diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2021-04-22 22:41:01 -0700 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2021-04-23 09:32:16 -0700 |
commit | 0a5576ecf05f810065b6562605f1cbe78fee2988 (patch) | |
tree | b2c3256f1ad4c38f59ee58b441018d596eb56664 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
parent | 89c4dda076e29bb085426a621ea5797ced599f03 (diff) | |
download | llvm-0a5576ecf05f810065b6562605f1cbe78fee2988.zip llvm-0a5576ecf05f810065b6562605f1cbe78fee2988.tar.gz llvm-0a5576ecf05f810065b6562605f1cbe78fee2988.tar.bz2 |
scudo: Store header on deallocation before retagging memory.
From a cache perspective it's better to store the header immediately
after loading it. If we delay this operation until after we've
retagged it's more likely that our header will have been evicted from
the cache and we'll need to fetch it again in order to perform the
compare-exchange operation.
For similar reasons, store the deallocation stack before retagging
instead of afterwards.
Differential Revision: https://reviews.llvm.org/D101137
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions