[PATCH] D136097: InstSimplify: Fold fdiv nnan nsz x, 0 -> inf

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 11:51:58 PDT 2022


kpn accepted this revision.
kpn added a comment.
This revision is now accepted and ready to land.

It looks like by 754 sec 7.3 a (-x)/(+0) == -Inf, but the nsz is documented as saying the sign of the result is "insignificant", so I think we're good here.

LGTM


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136097/new/

https://reviews.llvm.org/D136097



More information about the llvm-commits mailing list