[llvm] [VPlan] Add VPInst::getNumOperandsForOpcode, use to verify in ctor (NFC) (PR #142284)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 20 14:00:55 PDT 2025
ayalz wrote:
> This can also be used in a follow-up to determine if a VPInstruction is masked based on the number of arguments.
BTW, masking could alternatively have an explicit API for setting and getting, possibly maintaining a pointer to a VPInstruction's mask or null when unmasked.
https://github.com/llvm/llvm-project/pull/142284
More information about the llvm-commits
mailing list