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...
Details
Details
- Reviewers
oontvoo MaskRay - Group Reviewers
Restricted Project - Commits
- rGa0c01f05cdbe: [lld-macho][nfc] Use alignToPowerOf2 instead of alignTo when possible
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I did the same for lld/ELF. Not that it mattered much, but generated code sequence was slightly better.