[Alignment][NFC] Value::getPointerAlignment returns MaybeAlign
commita8f3a811dc4795898bf71d79ecb94ec6acbe7dad
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 13:58:22 +0000 (15 13:58 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 13:58:22 +0000 (15 13:58 +0000)
tree03cc863959fe333341b9501bbc3a762312d0e842
parent0748739044eca35bf138d34a1b5a5911c7ef1c14
[Alignment][NFC] Value::getPointerAlignment returns MaybeAlign

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, jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374889 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h
lib/Analysis/Loads.cpp
lib/Analysis/ValueTracking.cpp
lib/IR/ConstantFold.cpp
lib/IR/Value.cpp
lib/Target/AArch64/AArch64InstrInfo.td
lib/Transforms/IPO/Attributor.cpp
unittests/IR/FunctionTest.cpp