[all-commits] [llvm/llvm-project] 33a266: [Coroutines] Avoid copying memory attributes to ge...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Aug 27 05:27:03 PDT 2025


  Branch: refs/heads/users/dinistro/coro-func-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: 33a26699b89e532f4fa2d4ca8bde0ce879fcab6d
      https://github.com/llvm/llvm-project/commit/33a26699b89e532f4fa2d4ca8bde0ce879fcab6d
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    A llvm/test/Transforms/Coroutines/coro-split-func-attrs.ll

  Log Message:
  -----------
  [Coroutines] Avoid copying memory attributes to generated functions

This commit ensures that the coro split does not blindly copy memory
attributes to generated coroutine functions. Copying things like
`memory(none)` to functions that read or write memory causes UB.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list