[PATCH] D149572: [LegalizeVectorOps][AArch64][RISCV][X86] Use OpVT for ISD::SETCC in LegalizeVectorOps.

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 08:11:25 PDT 2023


barannikov88 added a comment.

I think both the result and the operands should be legalized.
I'd suggest to set Action to the action for an operand only if action for the result
is Legal, analogous to first checking for condcode legality above.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149572



More information about the llvm-commits mailing list