[all-commits] [llvm/llvm-project] 7bed58: [Inliner] Copy attributes when deoptimize intrinsi...

serguei-katkov via All-commits all-commits at lists.llvm.org
Mon May 17 20:09:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bed58d28fd0ec476d5cb5ec2d73416207f250bc
      https://github.com/llvm/llvm-project/commit/7bed58d28fd0ec476d5cb5ec2d73416207f250bc
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/deoptimize-intrinsic-attrs.ll

  Log Message:
  -----------
  [Inliner] Copy attributes when deoptimize intrinsic is inlined

During inlining of call-site with deoptimize intrinsic callee we miss
attributes set on this call site. As a result attributes like deopt-lowering are
disappeared resulting in inefficient behavior of register allocator in codegen.

Just copy attributes for deoptimize call like we do for others calls.

Reviewers: reames, apilipenko
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D102602




More information about the All-commits mailing list