diff --git a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h index 723da1a4fd28..a4aa4a7cbd69 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h @@ -582,8 +582,9 @@ 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). - /// FIXME: Remove once transition to Align is over. - inline unsigned getMemOpAlignment(const Instruction &I) { + LLVM_ATTRIBUTE_DEPRECATED( + inline unsigned getMemOpAlignment(const Instruction &I), + "Use getMemOpAlign instead") { return getMemOpAlign(I).value(); }