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

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


  Branch: refs/heads/users/dinistro/coro-func-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: e366ec117f568a81665920d6a41d8fada523488b
      https://github.com/llvm/llvm-project/commit/e366ec117f568a81665920d6a41d8fada523488b
  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