[PATCH] D136096: InstSimplify: Fold fdiv nnan ninf x, 0 -> poison

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


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

Looks like IEEE 754-2019 section 7.3 says this should result in Infinity, but the ninf flag excludes Infinity, so poison seems correct.

LGTM


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

https://reviews.llvm.org/D136096



More information about the llvm-commits mailing list