[Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned)
commit3ae2d8fa736a2e279b6cf55d5ab2fdcbe4d86fb6
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 11:24:36 +0000 (15 11:24 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 15 Oct 2019 11:24:36 +0000 (15 11:24 +0000)
tree0fcd8ad93829f7e864d61048e50a0e6bbea2c955
parent3804b7fd5f7bd2c642d7e78ef21dc0b329c93f63
[Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned)

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: arsenm, mehdi_amini, jvesely, nhaehnle, hiraditya, steven_wu, dexonsmith, dang, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374880 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
include/llvm/IR/GlobalObject.h
include/llvm/LTO/LTO.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/CodeGen/GlobalMerge.cpp
lib/CodeGen/LowerEmuTLS.cpp
lib/ExecutionEngine/Orc/Speculation.cpp
lib/IR/Core.cpp
lib/IR/Globals.cpp
lib/IR/IRBuilder.cpp
lib/LTO/LTO.cpp
lib/Linker/IRMover.cpp
lib/Linker/LinkModules.cpp
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
lib/Transforms/IPO/ConstantMerge.cpp
lib/Transforms/IPO/CrossDSOCFI.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/LowerTypeTests.cpp
lib/Transforms/IPO/MergeFunctions.cpp
lib/Transforms/IPO/WholeProgramDevirt.cpp
lib/Transforms/Instrumentation/AddressSanitizer.cpp
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp
lib/Transforms/Instrumentation/Instrumentation.cpp
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
lib/Transforms/Utils/Local.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
unittests/IR/ConstantsTest.cpp
unittests/IR/FunctionTest.cpp
unittests/IR/ValueTest.cpp