[Alignment] Migrate Attribute::getWith(Stack)Alignment
commitb75805f86228651cca0431c5d9e9a6b248bf9519
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 12:56:24 +0000 (15 12:56 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 12:56:24 +0000 (15 12:56 +0000)
treeb36a12a75ea583f256b9a812a3225cae481e005e
parent2d11c4c755f2d931ce0a5a6bb90823df11aa1ffb
[Alignment] Migrate Attribute::getWith(Stack)Alignment

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

Reviewed By: courbet

Subscribers: arsenm, jvesely, nhaehnle, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374884 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/IR/Attributes.h
include/llvm/IR/IntrinsicInst.h
lib/IR/Attributes.cpp
lib/IR/Core.cpp
lib/IR/IRBuilder.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
lib/Target/AMDGPU/AMDGPUMachineFunction.h
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
lib/Transforms/IPO/Attributor.cpp
test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
test/CodeGen/MIR/AMDGPU/machine-function-info.ll
unittests/IR/AttributesTest.cpp