From 574306bb417e4b4d9643a5ac2339b6a5c6ea28b2 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Fri, 28 Nov 2025 13:38:26 +0100 Subject: [PATCH] [NFC] Remove deprecated Argument::getParamAlignment() declaration The implementation of Argument::getParamAlignment() was removed in commit b55f83d013eff244f7cf6bfcd06f06f7c894ff28, but the declaration in Argument.h was left behind. Remove it. NFC. --- llvm/include/llvm/IR/Argument.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/include/llvm/IR/Argument.h b/llvm/include/llvm/IR/Argument.h index b9a73b3eb5fc2..6ffc0f8fd5155 100644 --- a/llvm/include/llvm/IR/Argument.h +++ b/llvm/include/llvm/IR/Argument.h @@ -108,12 +108,6 @@ class Argument final : public Value { /// returned. Otherwise, nullptr. LLVM_ABI Type *getPointeeInMemoryValueType() const; - /// If this is a byval or inalloca argument, return its alignment. - /// FIXME: Remove this function once transition to Align is over. - /// Use getParamAlign() instead. - LLVM_ABI LLVM_DEPRECATED("Use getParamAlign() instead", - "getParamAlign") uint64_t getParamAlignment() const; - /// If this is a byval or inalloca argument, return its alignment. LLVM_ABI MaybeAlign getParamAlign() const;