================
@@ -567,21 +567,7 @@ def CIR_SyncScopeKind : CIR_I32EnumAttr<"SyncScopeKind",
"sync scope kind", [
// AllocaOp
//===----------------------------------------------------------------------===//
-class CIR_AllocaTypesMatchWith<
- string summary, string lhsArg, string rhsArg, string transform,
- string comparator = "std::equal_to<>()"
-> : PredOpTrait<summary, CPred<comparator # "(" #
- !subst("$_self", "$" # lhsArg # ".getType()", transform) #
- ", $" # rhsArg # ")">
-> {
- string lhs = lhsArg;
- string rhs = rhsArg;
- string transformer = transform;
-}
-
def CIR_AllocaOp : CIR_Op<"alloca", [
----------------
xlauko wrote:
can you add also variants of other cases, otherwise lgtm
https://github.com/llvm/llvm-project/pull/198962
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits