[PATCH] D139785: [InstCombine] preserve signbit semantics of NAN with fold to fabs

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 26 12:25:04 PST 2022


spatel added a comment.

Ping.

This patch gets us closer to the desired behavior of IEEE-compliant fneg/fabs/copysign (there is no "copy" in IR) semantics with the default LLVM FP environment, and the code comment is hopefully clear now.

If there are other open questions, those should be added to the discourse thread or in bug reports.


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

https://reviews.llvm.org/D139785



More information about the llvm-commits mailing list