[Alignment][NFC] Return Align for SelectionDAGNodes::getOriginalAlignment/getAlignment
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 27 Mar 2020 16:09:31 +0000 (16:09 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 30 Mar 2020 07:26:48 +0000 (07:26 +0000)
commitb91535f6c7b4963ce185cac7126a795e42e6be4e
tree29712c67bde55a0fe394f449689227669b845c76
parenteb90692d8a660bb3172c9c2cc5adb3864c626d96
[Alignment][NFC] Return Align for SelectionDAGNodes::getOriginalAlignment/getAlignment

Summary:
Also deprecate getOriginalAlignment, getAlignment will take much more time as it is pervasive through the codebase (including TableGened files).

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/D76933
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp