[all-commits] [llvm/llvm-project] a1b103: [Coroutines] Remove assert about a promise being p...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Fri Aug 29 04:05:20 PDT 2025


  Branch: refs/heads/users/dinistro/remove-incorrect-assert
  Home:   https://github.com/llvm/llvm-project
  Commit: a1b103d341f5663a000ad35712f019c7d677d5c2
      https://github.com/llvm/llvm-project/commit/a1b103d341f5663a000ad35712f019c7d677d5c2
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/test/Transforms/Coroutines/coro-split-dbg.ll

  Log Message:
  -----------
  [Coroutines] Remove assert about a promise being present

This commit removes an assert in the generation of debug info for a
coroutine frame. This assert checked if a promise alloca is present,
even though it's not used. While this might always be the case when the
coroutine was produced by clang++, this doesn't hold in the general
case.



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