[all-commits] [llvm/llvm-project] fcb7d7: [coroutine] add nomerge function attribute to `llv...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Tue Jul 12 10:39:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcb7d76d65e8df04ea54058cb5e9f2d63b13787a
      https://github.com/llvm/llvm-project/commit/fcb7d76d65e8df04ea54058cb5e9f2d63b13787a
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M clang/test/CodeGenCoroutines/coro-attributes.cpp
    M llvm/docs/Coroutines.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    A llvm/test/Transforms/Coroutines/coro-save-nomerge.ll
    R llvm/test/Transforms/SimplifyCFG/hoist-skip-token.ll

  Log Message:
  -----------
  [coroutine] add nomerge function attribute to `llvm.coro.save`

It is illegal to merge two `llvm.coro.save` calls unless their
`llvm.coro.suspend` users are also merged. Marks it "nomerge" for
the moment.

This reverts D129025.

Alternative to D129025, which affects other token type users like WinEH.

Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list