[PATCH] D154868: [DAGCombiner] Extend `combineFMulOrFDivWithIntPow2` to work for non-splat float vecs
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 09:55:17 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:3132
+ /// Same as above to with wrapper only accepting ConstantSDNode or nullptr.
+ inline bool matchUnaryPredicate(SDValue Op,
+ std::function<bool(ConstantSDNode *)> Match,
----------------
Why not just add a matchUnaryFpPredicate variant?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154868/new/
https://reviews.llvm.org/D154868
More information about the llvm-commits
mailing list