llvm.org GIT mirror llvm / 5e38b14
[globalisel] Support 3-type legalForCartesianProduct() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357815 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 7 months ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
483483 LegalizeRuleSet &legalForCartesianProduct(std::initializer_list Types0,
484484 std::initializer_list Types1) {
485485 return actionForCartesianProduct(LegalizeAction::Legal, Types0, Types1);
486 }
487 /// The instruction is legal when type indexes 0, 1, and 2 are both their
488 /// respective lists.
489 LegalizeRuleSet &legalForCartesianProduct(std::initializer_list Types0,
490 std::initializer_list Types1,
491 std::initializer_list Types2) {
492 return actionForCartesianProduct(LegalizeAction::Legal, Types0, Types1,
493 Types2);
486494 }
487495
488496 /// The instruction is lowered.