[all-commits] [llvm/llvm-project] 23f08a: [Inline] Avoid incompatible return attributes on d...

annamthomas via All-commits all-commits at lists.llvm.org
Fri Aug 18 09:56:27 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23f08af2bedd683ff32e9bfc88f06334f3a2faa8
  Author: Anna Thomas <anna at azul.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/pr64804.ll

  Log Message:
  [Inline] Avoid incompatible return attributes on deoptimize

When updating the return type of deoptimize call during inline, we need
to drop incompatible return attributes.  This bug was exposed once we
relaxed the contraint of adding the attributes through D156844. With
that change deoptimize (are not willreturn) will start having return
attributes added to it.

Fixes https://github.com/llvm/llvm-project/issues/64804.

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

More information about the All-commits mailing list