diff options
author | Jez Ng <jezng@fb.com> | 2023-01-11 17:13:33 -0500 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2023-01-11 17:13:33 -0500 |
commit | a0c01f05cdbe4f099e2d10d3e19e89c8f248b3d6 (patch) | |
tree | 4b0077e7e652475298ce3695223518fd3e30a683 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 64fc3cd55d586498dd21c5b3cfaa755793913772 (diff) | |
download | llvm-a0c01f05cdbe4f099e2d10d3e19e89c8f248b3d6.zip llvm-a0c01f05cdbe4f099e2d10d3e19e89c8f248b3d6.tar.gz llvm-a0c01f05cdbe4f099e2d10d3e19e89c8f248b3d6.tar.bz2 |
[lld-macho][nfc] Use alignToPowerOf2 instead of alignTo when possible
Skips the divide operation which is generally expensive. Not that it
matters in this diff, the code changed is not particularly hot, but just
for principle & consistency...
Reviewed By: #lld-macho, oontvoo, MaskRay
Differential Revision: https://reviews.llvm.org/D141461
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions