Skip to content

Commit 99007ff

Browse files
[IR] Remove Intrinsic::getDeclaration
Intrinsic::getDeclaration has been deprecated for more than 9 months since: commit b9f0867 Author: Rahul Joshi <[email protected]> Date: Mon Oct 14 19:21:28 2024 -0700 This patch removes it. I'm not aware of any downstream use AFAIK.
1 parent 0bdd312 commit 99007ff

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/IR/Intrinsics.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ namespace Intrinsic {
104104
LLVM_ABI Function *getOrInsertDeclaration(Module *M, ID id,
105105
ArrayRef<Type *> Tys = {});
106106

107-
LLVM_DEPRECATED("Use getOrInsertDeclaration instead",
108-
"getOrInsertDeclaration")
109-
inline Function *getDeclaration(Module *M, ID id, ArrayRef<Type *> Tys = {}) {
110-
return getOrInsertDeclaration(M, id, Tys);
111-
}
112-
113107
/// Look up the Function declaration of the intrinsic \p id in the Module
114108
/// \p M and return it if it exists. Otherwise, return nullptr. This version
115109
/// supports non-overloaded intrinsics.

0 commit comments

Comments
 (0)