[llvm] 78313e8 - Attributor: Add isAtFixpoint part of nofpclass handling
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 04:39:52 PDT 2023
Author: Matt Arsenault
Date: 2023-03-17T07:02:47-04:00
New Revision: 78313e8531c412f4b57b23e0ee04ea4a131e8d71
URL: https://github.com/llvm/llvm-project/commit/78313e8531c412f4b57b23e0ee04ea4a131e8d71
DIFF: https://github.com/llvm/llvm-project/commit/78313e8531c412f4b57b23e0ee04ea4a131e8d71.diff
LOG: Attributor: Add isAtFixpoint part of nofpclass handling
Added:
Modified:
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
index e8d74d325e6e..d8a0a3c85628 100644
--- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -10281,6 +10281,9 @@ struct AANoFPClassFloating : public AANoFPClassImpl {
/// See AbstractAttribute::initialize(...).
void initialize(Attributor &A) override {
AANoFPClassImpl::initialize(A);
+ if (!getState().isAtFixpoint())
+ if (Instruction *CtxI = getCtxI())
+ followUsesInMBEC(*this, A, getState(), *CtxI);
}
/// See AbstractAttribute::updateImpl(...).
More information about the llvm-commits
mailing list