[llvm] [NFCI][Coroutines] update tests to autogenerated formatting (PR #178358)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 13:50:19 PST 2026


================
@@ -1,8 +1,46 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
 ; Check that we create copy the data from the alloca into the coroutine
 ; frame slot if it was written to.
 ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
 
+; CHECK: %f.Frame = type { ptr, ptr, i64, i64, i64, i64, i1 }
+
 define ptr @f() presplitcoroutine {
+; See that we added both x and y to the frame.
+;
+; Then see that all of the uses prior to coro-begin stays put.
+;
+; Then see that we only copy the x as y was not modified prior to coro.begin.
----------------
nikic wrote:

nit: Move these comments above the function definition.

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


More information about the llvm-commits mailing list