[PATCH] D142567: DAG: Remove hasBitPreservingFPLogic

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 11:36:36 PST 2023


spatel added a comment.

For reference, I added this hook with:
https://reviews.llvm.org/D19391
...which was responding to:
https://lists.llvm.org/pipermail/llvm-dev/2016-April/098098.html
and:
https://bugs.llvm.org/show_bug.cgi?id=24886#c4

So there were problems before we had fneg/fabs in IR/SDAG, but it seems there were also problems with denorms and other edge cases. 
I'm not opposed to this patch, but I think we should notify a wider audience about the change (since the hook defaulted to "off"). Out-of-tree targets may need to make adjustments. Post a message on discourse?


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

https://reviews.llvm.org/D142567



More information about the llvm-commits mailing list