[PATCH] D132880: [SVE] Fix SVEDup0 matching -0.0f

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 06:10:57 PDT 2023


Allen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:187
+      if (isNullConstant(Opnd0))
+        return true;
+      if (isNullFPConstant(Opnd0))
----------------
sorry, I have a question: can we match the -0.0 if the option **-ffast-math**  is added in command ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132880



More information about the llvm-commits mailing list