[PATCH] D137811: InstCombine: Perform basic isnan combines on llvm.is.fpclass

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 4 18:56:38 PST 2023


jyknight added a comment.

As far as I can tell, this conversation has run its course, and I don't think there were any more comments on the actual code, so I'm going to accept this revision.

Use-cases that require traps or otherwise observing floating-point status flags must generate strictfp functions and constrained intrinsics. (E.g. in Clang, you might wish to compile with `-ffp-exception-behavior=maytrap`). That was true before this change, too.

If the performance of strictfp code is not as good as desired, then I'm sure there's more work that can be done optimizing it -- but there is a reason it's a separate mode.


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

https://reviews.llvm.org/D137811



More information about the llvm-commits mailing list