[PATCH] D119746: [FPEnv][InstSimplify] Fold fsub X, -0 ==> X, when we know X is not -0

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 10:32:48 PST 2022


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

"X - (-0.0)" should be equivalent to the existing code for "X + 0.0", so LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119746



More information about the llvm-commits mailing list