[PATCH] D126774: [InstCombine] Use +0.0 instead of -0.0 as the FP identity for some folds

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 06:48:54 PDT 2022


dmgreen added a comment.

The Arm backend has patterns to turn the awkward `fadd(select(.., -0.0))` back into a more natural predicated fadd. They will need to be made to work with both the forms, if this is changing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126774



More information about the llvm-commits mailing list