[PATCH] D101028: [GreedyRA] Do not hoist to BB if its def is after LSP
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 01:24:44 PDT 2021
skatkov created this revision.
skatkov added reviewers: reames, MatzeB, rnk, wmi, qcolombet, void.
Herald added subscribers: pengfei, jfb, hiraditya.
skatkov requested review of this revision.
Herald added a project: LLVM.
If the parent def is a LastSplitPoint or later we cannot hoist copy to this basic block
because inserted copy (or re-materialization) will be located before the def.
https://reviews.llvm.org/D101028
Files:
llvm/lib/CodeGen/SplitKit.cpp
llvm/test/CodeGen/X86/statepoint-invoke-ra-hoist-copies.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101028.339508.patch
Type: text/x-patch
Size: 57615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/38882087/attachment.bin>
More information about the llvm-commits
mailing list