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

Christian Ulmann via All-commits all-commits at lists.llvm.org
Mon Sep 1 01:26:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24bc5665bcb3ebfaf3b0ff0d1e1d7dd654a9d98d
      https://github.com/llvm/llvm-project/commit/24bc5665bcb3ebfaf3b0ff0d1e1d7dd654a9d98d
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2025-09-01 (Mon, 01 Sep 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 (#156007)

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.

Note: We generate coroutine intrinsics from downstream passes. In our
case, there is no guarantee that a coroutine has any promise, but they
can originate from some non-coro C++ code.



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