[all-commits] [llvm/llvm-project] 8aa038: [CoroSplit][DebugInfo] Don't use entry_value in co...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Aug 17 06:15:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aa038ab17091da3defb815cb8b78f53229c4907
      https://github.com/llvm/llvm-project/commit/8aa038ab17091da3defb815cb8b78f53229c4907
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroInternal.h
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/swift-async-dbg.ll

  Log Message:
  -----------
  [CoroSplit][DebugInfo] Don't use entry_value in coroutine entry point

The entry point function is called as a regular function. Among other things, it
can be inlined, which would violate the semantics of entry_value in the IR.

Differential Revision: https://reviews.llvm.org/D158108




More information about the All-commits mailing list