diff --git a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h index 5c3c09a1630e4..2224e8997394c 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 ae28d728a16df..964f86f504112 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