From f74523f986da2902fed736a3c94ef32033d74bae Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 8 Jun 2020 10:18:33 -0400 Subject: [PATCH] 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. --- llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h | 9 --------- llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h | 7 ------- 2 files changed, 16 deletions(-) diff --git a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h index 5c3c09a..2224e89 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h @@ -586,15 +586,6 @@ private: /// 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). Align getMemOpAlign(const Instruction &I); /// Get the MachineBasicBlock that represents \p BB. Specifically, the block diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h index ae28d72..964f86f 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h @@ -388,13 +388,6 @@ public: 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 -- 2.7.4