Skip to content

Commit

Permalink
Attributor: Add isAtFixpoint part of nofpclass handling
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenm committed Mar 17, 2023
1 parent 6705f63 commit 78313e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Expand Up @@ -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(...).
Expand Down

0 comments on commit 78313e8

Please sign in to comment.