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

Stephen Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 12:58:19 PDT 2022


steplong added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:190
       if (auto CN = dyn_cast<ConstantFPSDNode>(Opnd0))
         if (CN->isZero())
           return true;
----------------
Does it make sense to check for isNegative here also?


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