[PATCH] D121187: [DAGCombiner][VP] Add DAGCombine for VP_MUL.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 11:53:37 PST 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:22807
+
+ // fold vp_mul X, (splat 0), Mask, EVL -> vp_select Mask, undef, (splat 0),
+ // EVL
----------------
If one of the true/false values of the VP_SELECT is undef can we ignore the mask and EVL and return the other operand? @simoll @frasercrmck
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121187/new/
https://reviews.llvm.org/D121187
More information about the llvm-commits
mailing list