[Alignment][NFC] Support compile time constants
commit90b08b77efb02e28b9ded270e7b6821a18bc3bcd
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 09:04:15 +0000 (14 09:04 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 09:04:15 +0000 (14 09:04 +0000)
treece81ff78b692db25513dbc5a0b438d31803c575b
parenteca2f6ad30e9137009551cbf81bf53c416af2dd7
[Alignment][NFC] Support compile time constants

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374758 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Alignment.h
include/llvm/Support/MathExtras.h
unittests/Support/AlignmentTest.cpp
unittests/Support/MathExtrasTest.cpp