aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-08 07:45:06 -0700
committerGitHub <noreply@github.com>2025-08-08 07:45:06 -0700
commitc11868f66c039b9fd5dd9670fcfab53a662e2c6b (patch)
treea3b19758752c01845b1b6037fd43c19df137a3ff
parent4e44e7c16433cb922344ce12891074d708e26c54 (diff)
downloadllvm-c11868f66c039b9fd5dd9670fcfab53a662e2c6b.zip
llvm-c11868f66c039b9fd5dd9670fcfab53a662e2c6b.tar.gz
llvm-c11868f66c039b9fd5dd9670fcfab53a662e2c6b.tar.bz2
[IR] Remove Intrinsic::getDeclaration (#152645)
Intrinsic::getDeclaration has been deprecated for more than 9 months since: commit b9f08676abcfbb226c67b5ac2a7bc5b33254b915 Author: Rahul Joshi <rjoshi@nvidia.com> Date: Mon Oct 14 19:21:28 2024 -0700 This patch removes it. I'm not aware of any downstream use AFAIK.
-rw-r--r--llvm/include/llvm/IR/Intrinsics.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/IR/Intrinsics.h b/llvm/include/llvm/IR/Intrinsics.h
index 48735b0..9577d01 100644
--- a/llvm/include/llvm/IR/Intrinsics.h
+++ b/llvm/include/llvm/IR/Intrinsics.h
@@ -104,12 +104,6 @@ namespace Intrinsic {
LLVM_ABI Function *getOrInsertDeclaration(Module *M, ID id,
ArrayRef<Type *> Tys = {});
- LLVM_DEPRECATED("Use getOrInsertDeclaration instead",
- "getOrInsertDeclaration")
- inline Function *getDeclaration(Module *M, ID id, ArrayRef<Type *> Tys = {}) {
- return getOrInsertDeclaration(M, id, Tys);
- }
-
/// Look up the Function declaration of the intrinsic \p id in the Module
/// \p M and return it if it exists. Otherwise, return nullptr. This version
/// supports non-overloaded intrinsics.