516 changes: 516 additions & 0 deletions llvm/test/Transforms/Attributor/nofpclass-minnum-maxnum.ll

Large diffs are not rendered by default.

307 changes: 303 additions & 4 deletions llvm/test/Transforms/Attributor/nofpclass.ll

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions llvm/unittests/Analysis/ValueTrackingTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1539,9 +1539,9 @@ TEST_F(ComputeKnownFPClassTest, SIToFP) {
" %A3 = sitofp i17 %arg2 to half"
" ret float %A\n"
"}\n");
expectKnownFPClass(fcFinite, std::nullopt, A);
expectKnownFPClass(fcFinite, std::nullopt, A2);
expectKnownFPClass(~fcNan, std::nullopt, A3);
expectKnownFPClass(fcFinite & ~fcNegZero, std::nullopt, A);
expectKnownFPClass(fcFinite & ~fcNegZero, std::nullopt, A2);
expectKnownFPClass(~(fcNan | fcNegZero), std::nullopt, A3);
}

TEST_F(ComputeKnownFPClassTest, FAdd) {
Expand Down