[Alignment][NFC] Add a helper function to DataLayout
commit471eaccd514a164b7be7c73be3b3f44f7f77ac70
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 21 Oct 2019 13:58:33 +0000 (21 13:58 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 21 Oct 2019 13:58:33 +0000 (21 13:58 +0000)
treeb298c10674f6c35a6d44ea9022d9b5559609fee9
parentd00dbb86c0f3d60eb4db569f9b15c8b3bf48c3db
[Alignment][NFC] Add a helper function to DataLayout

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

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