This is an archive of the discontinued LLVM Phabricator instance.

[Inliner] Copy attributes when deoptimize intrinsic is inlined
ClosedPublic

Authored by skatkov on May 17 2021, 2:32 AM.

Details

Summary

During this 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 in-efficient behavior of register allocator in codegen.

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

Diff Detail

Event Timeline

skatkov created this revision.May 17 2021, 2:32 AM
skatkov requested review of this revision.May 17 2021, 2:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2021, 2:32 AM
reames accepted this revision.May 17 2021, 2:01 PM

LGTM

This revision is now accepted and ready to land.May 17 2021, 2:01 PM