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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 11:29:33 PST 2023


efriedma added a comment.

> inlining may require conversion to a form that uses constrained intrinsics

Functions which are not strictfp are allowed to introduce "spurious" fp flag writes; for example, we can flatten control flow that contains floating-point ops.  Inlining the function doesn't change that general rule.  The inliner converts fp operations just to ensure that later optimizations don't move those operations around.


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

https://reviews.llvm.org/D137811



More information about the llvm-commits mailing list