[Alignment][NFC] Convert MachineIRBuilder::buildDynStackAlloc to Align
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 2 Apr 2020 09:15:06 +0000 (09:15 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 3 Apr 2020 09:05:19 +0000 (09:05 +0000)
commitca11c480e7845ede2e86a17d0c80a6a97ebd1c61
tree4ef5b734cbab01f03a1b6a3ef86d4275d1a5cd01
parent1aee1ae5326cf1f6d03b4b7adbdcc2b499f044fc
[Alignment][NFC] Convert MachineIRBuilder::buildDynStackAlloc to Align

Summary:
The change in IRTranslator is not trivial but is NFC as far as I can tell.

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/D77292
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
llvm/test/CodeGen/AArch64/GlobalISel/dynamic-alloca.ll