[llvm] 5254354 - [IR] Remove unused declaration removeParamUndefImplyingAttrs
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 3 23:37:09 PDT 2023
Author: Kazu Hirata
Date: 2023-06-03T23:36:53-07:00
New Revision: 52543545b02ac96e56a2627f949bb5f7871f95d6
URL: https://github.com/llvm/llvm-project/commit/52543545b02ac96e56a2627f949bb5f7871f95d6
DIFF: https://github.com/llvm/llvm-project/commit/52543545b02ac96e56a2627f949bb5f7871f95d6.diff
LOG: [IR] Remove unused declaration removeParamUndefImplyingAttrs
The corresponding function definition was removed by:
commit 087a8eea359a4d8ef22c42fddca3b09833928c6a
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: Sun Jul 25 18:21:13 2021 +0200
Added:
Modified:
llvm/include/llvm/IR/Function.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Function.h b/llvm/include/llvm/IR/Function.h
index 8b514528daf38..93cf0d27e9a73 100644
--- a/llvm/include/llvm/IR/Function.h
+++ b/llvm/include/llvm/IR/Function.h
@@ -417,10 +417,6 @@ class LLVM_EXTERNAL_VISIBILITY Function : public GlobalObject,
/// gets the specified attribute from the list of attributes.
Attribute getParamAttribute(unsigned ArgNo, Attribute::AttrKind Kind) const;
- /// removes noundef and other attributes that imply undefined behavior if a
- /// `undef` or `poison` value is passed from the list of attributes.
- void removeParamUndefImplyingAttrs(unsigned ArgNo);
-
/// Return the stack alignment for the function.
MaybeAlign getFnStackAlign() const {
return AttributeSets.getFnStackAlignment();
More information about the llvm-commits
mailing list