[Alignment][NFC] Optimize alignTo
commit78fba75e250612723c93a8a626bac416c526c3ac
authorGuillaume Chatelet <gchatelet@google.com>
Wed, 16 Oct 2019 13:06:17 +0000 (16 13:06 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Wed, 16 Oct 2019 13:06:17 +0000 (16 13:06 +0000)
tree5724aa25212a20befd04fc8232b7befd6728a33a
parent993465f5150ef72c27777a77e704fd52dd2aac84
[Alignment][NFC] Optimize alignTo

Summary: A small optimization suggested by jakehehrlich@ in D64790.

Reviewers: jakehehrlich, courbet

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69023

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375000 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Alignment.h