[llvm] f74523f - GlobalISel: Remove deprecated methods
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 07:22:42 PDT 2020
Author: Matt Arsenault
Date: 2020-06-08T10:22:35-04:00
New Revision: f74523f986da2902fed736a3c94ef32033d74bae
URL: https://github.com/llvm/llvm-project/commit/f74523f986da2902fed736a3c94ef32033d74bae
DIFF: https://github.com/llvm/llvm-project/commit/f74523f986da2902fed736a3c94ef32033d74bae.diff
LOG: GlobalISel: Remove deprecated methods
These have very few users to begin with, and have been marked
deprecated for 2 months which should be long enough for out of tree
targets.
Added:
Modified:
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
index 5c3c09a1630e..2224e8997394 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
@@ -583,15 +583,6 @@ class IRTranslator : public MachineFunctionPass {
/// If such VReg does not exist, it is created.
int getOrCreateFrameIndex(const AllocaInst &AI);
- /// Get the alignment of the given memory operation instruction. This will
- /// either be the explicitly specified value or the ABI-required alignment for
- /// the type being accessed (according to the Module's DataLayout).
- LLVM_ATTRIBUTE_DEPRECATED(
- inline unsigned getMemOpAlignment(const Instruction &I),
- "Use getMemOpAlign instead") {
- return getMemOpAlign(I).value();
- }
-
/// Get the alignment of the given memory operation instruction. This will
/// either be the explicitly specified value or the ABI-required alignment for
/// the type being accessed (according to the Module's DataLayout).
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
index ae28d728a16d..964f86f50411 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
@@ -388,13 +388,6 @@ class MachineIRBuilder {
MachineInstrBuilder buildDynStackAlloc(const DstOp &Res, const SrcOp &Size,
Align Alignment);
- LLVM_ATTRIBUTE_DEPRECATED(inline MachineInstrBuilder buildDynStackAlloc(
- const DstOp &Res, const SrcOp &Size,
- unsigned Align),
- "Use the version that takes MaybeAlign instead") {
- return buildDynStackAlloc(Res, Size, assumeAligned(Align));
- }
-
/// Build and insert \p Res = G_FRAME_INDEX \p Idx
///
/// G_FRAME_INDEX materializes the address of an alloca value or other
More information about the llvm-commits
mailing list