aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2023-01-11 17:13:33 -0500
committerJez Ng <jezng@fb.com>2023-01-11 17:13:33 -0500
commita0c01f05cdbe4f099e2d10d3e19e89c8f248b3d6 (patch)
tree4b0077e7e652475298ce3695223518fd3e30a683 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent64fc3cd55d586498dd21c5b3cfaa755793913772 (diff)
downloadllvm-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