[PATCH] D47024: [MathExtras] Add alignToPowerOf2

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 10:56:27 PDT 2018


MaskRay added a comment.

Sorry for being unclear. I mean that code also wants to avoid a division instruction. Is that because the symbols are iterated NumSymbols*Concurrency times to the saving is significant but other alignment improvement may be unnoticeable?


Repository:
  rL LLVM

https://reviews.llvm.org/D47024





More information about the llvm-commits mailing list