[PATCH] D49561: AMDGPU: Try to make isKnownNeverSNan more accurate

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 14:26:21 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D49561#1168643, @rampitec wrote:

> I would tend to say isKnownNeverSNan here basically tells not that it cannot be sNaN, but rather that we do not care even if it is. At least we should not care if FP exceptions are off.


Except that's not true since there can be sNaNs can be loaded, so even if exceptions aren't handled they need to be dealt with


https://reviews.llvm.org/D49561





More information about the llvm-commits mailing list