[Alignment][NFC] Adding a max function.
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 30 Sep 2019 09:59:31 +0000 (09:59 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 30 Sep 2019 09:59:31 +0000 (09:59 +0000)
commit02c19658ffe935e09fc1d84b30f09beadb87fe52
tree9a101e875407a62e561f4c43baf5dd72584083dc
parent17380227e830a7a3fc2adafc2226e4c579b919ef
[Alignment][NFC] Adding a max function.

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/D68201

llvm-svn: 373196
llvm/include/llvm/Support/Alignment.h
llvm/unittests/Support/AlignmentTest.cpp