[PATCH] D137811: InstCombine: Perform basic isnan combines on llvm.is.fpclass
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 16 09:38:54 PST 2022
foad added a comment.
> is.fpclass(x, qnan|snan) -> fcmp uno x, 0.0
> is.fpclass(nnan x, qnan|snan|other) -> is.fpclass(x, other)
The first one sounds good. Do you have a specific motivation for the second one?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137811/new/
https://reviews.llvm.org/D137811
More information about the llvm-commits
mailing list