Skip to content

Commit 78313e8

Browse files
committed
Attributor: Add isAtFixpoint part of nofpclass handling
1 parent 6705f63 commit 78313e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10281,6 +10281,9 @@ struct AANoFPClassFloating : public AANoFPClassImpl {
1028110281
/// See AbstractAttribute::initialize(...).
1028210282
void initialize(Attributor &A) override {
1028310283
AANoFPClassImpl::initialize(A);
10284+
if (!getState().isAtFixpoint())
10285+
if (Instruction *CtxI = getCtxI())
10286+
followUsesInMBEC(*this, A, getState(), *CtxI);
1028410287
}
1028510288

1028610289
/// See AbstractAttribute::updateImpl(...).

0 commit comments

Comments
 (0)