[LLVM][Alignment] Introduce Alignment In GlobalObject
commit79426d1fdcf4576f72d759af2f4fe65cdeee0e08
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 6 Aug 2019 09:03:21 +0000 (6 09:03 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 6 Aug 2019 09:03:21 +0000 (6 09:03 +0000)
tree4b1f3d11c15d3e4f6404400d4f5f52d55a6d0dcd
parent477c8815c630a4e1bdec115aa3e156f35029bb52
[LLVM][Alignment] Introduce Alignment In GlobalObject

Summary:
This is patch is part of a serie 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: jfb

Subscribers: hiraditya, dexonsmith, llvm-commits, courbet

Tags: #llvm

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

Address comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368000 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GlobalObject.h
include/llvm/Support/Alignment.h
lib/IR/Globals.cpp
unittests/IR/ValueTest.cpp
unittests/Support/AlignmentTest.cpp