[PATCH] D80432: AMDGPU: Refine rcp/rsq intrinsic folding for modern FP rules

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 22 06:23:49 PDT 2020


foad added a comment.

> We have to assume undef could be an snan, which would need quieting so returning qnan is safer than undef.

So you've chosen to optimize assuming that an undef input was a nan. Is that better than assuming it was something more ordinary like 0?


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

https://reviews.llvm.org/D80432





More information about the llvm-commits mailing list