[PATCH] D136713: [SDAG] avoid vector extract/insert around binop

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 06:50:12 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23519
+      TLI.isBinOp(Opcode) && VT.getScalarType() == Scalar.getValueType() &&
+      hasOperation(Opcode, VT)) {
+    // Match an extract element and get a shuffle mask equivalent.
----------------
is anything stopping a vectorized integer division with undef elements occurring apart from the fact that almost no target has such an instruction? 


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

https://reviews.llvm.org/D136713



More information about the llvm-commits mailing list