[PATCH] D74713: [ConstantFold] fold fsub -0.0, undef to undef rather than NaN

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 14:42:00 PST 2020


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

This is fine in general for `half`/`float`/`double` for `fsub nnan float undef, %x`/`fsub nnan float %x, undef`.


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

https://reviews.llvm.org/D74713





More information about the llvm-commits mailing list