================ @@ -1419,6 +1419,48 @@ def CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> { }]>]; } +//===----------------------------------------------------------------------===// +// StackSave & StackRestoreOp +//===----------------------------------------------------------------------===// + +def StackSaveOp : CIR_Op<"stack_save"> { ---------------- AmrDeveloper wrote:
> nit: Also any reason not to mirror llvm names, i.e. to have cir.stacksave and > cir.stackrestore? I found that we use the same name pattern in general, for example `get_global`, `ptr_stride ` ...etc, but I think in this case we can mirror the llvm names, I will update it https://github.com/llvm/llvm-project/pull/136426 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits