[PATCH] D141891: [VP][DAGCombiner] Introduce generalized pattern match for vp sdnodes.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 09:07:55 PST 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:941
+    unsigned VLenPos = *ISD::getVPExplicitVectorLengthIdx(VPOpcode);
+    assert(MaskPos == 1 && VLenPos == 2);
+
----------------
`MaskPos` and `VLenPos` are unused in release builds and will give a warning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141891



More information about the llvm-commits mailing list