[clang] [CIR] Upstream StackSave and StackRestoreOp (PR #136426)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 21 01:06:22 PDT 2025


================
@@ -1419,6 +1419,48 @@ def CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> {
     }]>];
 }
 
+//===----------------------------------------------------------------------===//
+// StackSave & StackRestoreOp
+//===----------------------------------------------------------------------===//
+
+def StackSaveOp : CIR_Op<"stack_save"> {
----------------
xlauko wrote:

nit: Also any reason not to mirror `llvm` names, i.e. to have `cir.stacksave` and `cir.stackrestore`?

https://github.com/llvm/llvm-project/pull/136426


More information about the cfe-commits mailing list