[Alignment][NFC] Simplify IRTranslator::getMemOpAlignment
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 30 Mar 2020 18:50:49 +0000 (18:50 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 31 Mar 2020 06:57:13 +0000 (06:57 +0000)
commitaf3c52d5580fbb47cc88adeec7a928516e4b6cea
tree2f8f13229566e596669ff954334c9e77a04acaf6
parent7b808b105f6aedc4066502b68b71cf205bafa582
[Alignment][NFC] Simplify IRTranslator::getMemOpAlignment

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77078
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp