[PATCH] D125446: [LegalizeVectorTypes][VP] Add widen and split support for VP_SETCC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 10:51:15 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:5281
+                       N->getOperand(2));
+  } else {
+    assert(N->getOpcode() == ISD::VP_SETCC && "Expected VP_SETCC opcode");
----------------
You can drop the `else`. The `if` returned


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125446



More information about the llvm-commits mailing list