[PATCH] D126516: [RISCV][NFC] Simplified code for integer promotion setcc/vp.setcc

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 19:15:35 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:1970
-  assert(N->getNumOperands() == 5 && "Unexpected number of operands!");
-  assert(N->getOpcode() == ISD::VP_SETCC && "Expected VP_SETCC opcode");
-
----------------
The opcode checking assert was useful. Don't delete it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126516



More information about the llvm-commits mailing list