]> granicus.if.org Git - llvm/commit
[LLVM][Alignment] Introduce Alignment Type in DataLayout
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 5 Aug 2019 09:00:43 +0000 (09:00 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 5 Aug 2019 09:00:43 +0000 (09:00 +0000)
commitf76a78bfee3b4125e6db9361ffbd7848e77252f6
treebec4441909f0480b0e7f44662bca233d7a148147
parent22dacdb953029ae327509d4eb0e71c3df6ee4235
[LLVM][Alignment] Introduce Alignment Type in DataLayout

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: courbet, jfb, jakehehrlich

Subscribers: hiraditya, dexonsmith, llvm-commits

Tags: #llvm

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

Make getFunctionPtrAlign() return MaybeAlign

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367817 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
lib/CodeGen/GlobalISel/CombinerHelper.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/IR/DataLayout.cpp
lib/IR/Value.cpp
lib/Transforms/Utils/Local.cpp
unittests/IR/DataLayoutTest.cpp