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

WangLian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 19:03:46 PDT 2022


Jimerlife 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");
----------------
craig.topper wrote:
> You can drop the `else`. The `if` returned
Drop the `else` and returned in `if`


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