[PATCH] D25344: Add a fast path to alignTo.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 15:52:01 PDT 2016


On 6 October 2016 at 18:47, David Majnemer <david.majnemer at gmail.com> wrote:
> Is alignTo actually showing up in profiles of real world code?

Not significantly. The numbers I posted are for lld. I just noticed it
because there was a call to alignTo close to a hot code path, but divq
seems to be really fast on Intel when the right hand side is a power
of 2.

Cheers,
Rafael


More information about the llvm-commits mailing list