[PATCH] D139311: InstCombine: Match pattern that appears in clang's __builtin_isnormal

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 05:56:55 PST 2022


arsenm added a comment.

In D139311#3970681 <https://reviews.llvm.org/D139311#3970681>, @foad wrote:

> Looks reasonable to me. It could be relaxed a bit (e.g. the constants 0 and inf could be any non-nan constant values) but I guess there's no particular use case for that.

I thought about handling non-canonical fcmp ord/uno, but I can't write a test that meaningfully changes for that


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

https://reviews.llvm.org/D139311



More information about the llvm-commits mailing list