// Test the CIR operations can parse and print correctly (roundtrip) // RUN: cir-opt %s --verify-roundtrip | FileCheck %s !u8i = !cir.int module { cir.func @stack_save_restore() { %0 = cir.stacksave : !cir.ptr cir.stackrestore %0 : !cir.ptr cir.return } } //CHECK: module { //CHECK-NEXT: cir.func @stack_save_restore() { //CHECK-NEXT: %0 = cir.stacksave : !cir.ptr //CHECK-NEXT: cir.stackrestore %0 : !cir.ptr //CHECK-NEXT: cir.return //CHECK-NEXT: } //CHECK-NEXT: }