diff options
author | Chia-hung Duan <chiahungduan@google.com> | 2023-07-31 20:07:53 +0000 |
---|---|---|
committer | Chia-hung Duan <chiahungduan@google.com> | 2023-07-31 20:10:43 +0000 |
commit | aeef9c0274c6419d15df5cb2bb885aa3072423d6 (patch) | |
tree | 0d34d3c7c412077df71247cd1826fd3c2f4b699e /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 1e06b82bded69fe627d6cd62ecff236fca15f39b (diff) | |
download | llvm-aeef9c0274c6419d15df5cb2bb885aa3072423d6.zip llvm-aeef9c0274c6419d15df5cb2bb885aa3072423d6.tar.gz llvm-aeef9c0274c6419d15df5cb2bb885aa3072423d6.tar.bz2 |
[scudo] CanCache should use Size + HeadersSize instead of RoundedSize
Cached block may have nearly aligned address for a certain alignment so
that we don't have to round up the size in advance. The rounding should
only happen at determing the availability of a cached block.
Reviewed By: cferris
Differential Revision: https://reviews.llvm.org/D156582
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions