[Alignment][NFC] Optimize alignTo
commitb7fd1834a383b3eac23b4c5facb9bb82338113cf
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
parenta33980be174553ad45d7e980b883a26ba55b0f33
[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