[llvm] [DRAFT] coros: suspend metadata preservation (PR #150077)

Christian Ulmann via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 22:38:19 PDT 2025


================
@@ -79,6 +79,20 @@ using namespace llvm;
 
 #define DEBUG_TYPE "coro-split"
 
+/// If set, ensures that all metadata from CoroSuspendInst's is preserved in the
+/// containing function.
+namespace llvm {
----------------
Dinistro wrote:

Nit: I don't think that this namespace is required. All entries are static and the namespace is already used.

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


More information about the llvm-commits mailing list