[all-commits] [llvm/llvm-project] 4e92c1: [Coroutines] Use default attributes for some coro ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 31 01:39:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e92c1d9737a3694cd75a321f45b03c3d038e069
      https://github.com/llvm/llvm-project/commit/4e92c1d9737a3694cd75a321f45b03c3d038e069
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td

  Log Message:
  -----------
  [Coroutines] Use default attributes for some coro intrinsics

This adds the default attributes (nosync, nofree, nocallback,
willreturn) to the coro.id and coro.subfn.addr intrinsics. This
is needed to avoid optimization regressions in the future.

It's probably possible to use default attributes for most other
coro intrinsics as well, but I only hit these as problematic in
practice.

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




More information about the All-commits mailing list