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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 14:00:49 PDT 2016


On 6 October 2016 at 16:39, Davide Italiano <dccitaliano at gmail.com> wrote:
> On Thu, Oct 6, 2016 at 1:37 PM, Rui Ueyama <ruiu at google.com> wrote:
>> Or to make alignTo accept only power of twos and fix code that passes
>> non-power-of-twos.
>>
>
> Do you know how many of these cases are in LLVM and if there are legitimate?

Interesting idea. I added an assert and I am running the tests.

Cheers,
Rafael


More information about the llvm-commits mailing list