[Alignment] Get DataLayout::StackAlignment as Align
commitfdc396c67464fdd21fc545fc8d7f29052b24dc40
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 23 Sep 2019 12:01:32 +0000 (23 12:01 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 23 Sep 2019 12:01:32 +0000 (23 12:01 +0000)
tree5744df60a31be5bb15143b3c3f530e18074bcf1f
parent76af05ec19f2b9c5b21391bf3ab94a32be2b956e
[Alignment] Get DataLayout::StackAlignment as Align

Summary:
Internally it is needed to know if StackAlignment is set but we can
expose it as llvm::Align.

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: hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372585 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
lib/Target/AArch64/AArch64CallingConvention.cpp
lib/Target/ARM/ARMCallingConv.cpp
lib/Target/ARM/ARMISelLowering.cpp