[PATCH] D137190: [SDAG] Allow scalable vectors in SimplifyDemanded routines

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 11:00:27 PST 2022


reames added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:2699
     if (Op.getOpcode() >= ISD::BUILTIN_OP_END) {
       if (SimplifyDemandedBitsForTargetNode(Op, DemandedBits, DemandedElts,
                                             Known, TLO, Depth))
----------------
craig.topper wrote:
> Have you already audited SimplifyDemandedBitsForTargetNode for scalable vectors?
Nope, good catch.


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

https://reviews.llvm.org/D137190



More information about the llvm-commits mailing list