[PATCH] D138912: [RS4GC] Rematerialize derived pointers before uses.
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 02:27:59 PST 2022
dantrushin marked an inline comment as done.
dantrushin added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:2512
+ // decreasing chain size order?
+ if (Record.ChainToBase.size() > 1) {
+ Record.ChainToBase.clear();
----------------
skatkov wrote:
> !empty()?
Nope.More than one - i.e., it has a sub-chain which could have changed.
If chain length is 1 we cannot spoil it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138912/new/
https://reviews.llvm.org/D138912
More information about the llvm-commits
mailing list