[Alignment] Migrate Attribute::getWith(Stack)Alignment
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 12:56:24 +0000 (12:56 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 12:56:24 +0000 (12:56 +0000)
commitb65fa483058f1b4049c7201525779b4f49cceb80
tree465ad540bb829d323547089d9656f52e4d8733da
parenta94546987529b4410b99a66dfd268b3faacb78ec
[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

llvm-svn: 374884
19 files changed:
clang/lib/CodeGen/CGCall.cpp
llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/IntrinsicInst.h
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/Core.cpp
llvm/lib/IR/IRBuilder.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
llvm/unittests/IR/AttributesTest.cpp