================ @@ -1342,6 +1342,47 @@ def FuncOp : CIR_Op<"func", [ let hasVerifier = 1; } +//===----------------------------------------------------------------------===// +// CallOp +//===----------------------------------------------------------------------===// + +class CIR_CallOpBase<string mnemonic, list<Trait> extra_traits = []> + : Op<CIR_Dialect, mnemonic, + !listconcat(extra_traits, + [DeclareOpInterfaceMethods<CIRCallOpInterface>, + DeclareOpInterfaceMethods<SymbolUserOpInterface>])> { + let hasCustomAssemblyFormat = 1; + let skipDefaultBuilders = 1; + let hasVerifier = 0; + + // TODO(cir): for now cir.call is just a tiny shell of what it will become. + // More attributes, arguments, and properties will be added in the future as + // the upstreaming process moves on. ---------------- bcardosolopes wrote:
Add a note that the verifier is missing too https://github.com/llvm/llvm-project/pull/134673 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits