[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
commit6d644ed39642012461fd6b727377d2d774662499
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 20 Sep 2019 13:40:31 +0000 (20 13:40 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 20 Sep 2019 13:40:31 +0000 (20 13:40 +0000)
tree5377f57c3dced93dc4f5e1c81f70582fe6067a46
parent741956b0a9b8dba8f55d8e502d09c24e215c4cd6
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372390 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
lib/IR/DataLayout.cpp