[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 20 Sep 2019 13:40:31 +0000 (13:40 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 20 Sep 2019 13:40:31 +0000 (13:40 +0000)
commit6c127cdb99f37069ef410ff9c7a57a76cab269a2
tree0cbceb8803cad6e0ed3844a8de44bd84d7a96836
parent2a47c77e720a24f808bf6230d0a56bc969258b86
[Alignment][NFC] migrate DataLayout internal struct to llvm::Align

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

With this patch the PointerAlignElem struct goes from 20B to 16B.

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 372390
llvm/include/llvm/IR/DataLayout.h
llvm/lib/IR/DataLayout.cpp