Extract rematerializeChain() lambda into static function.
We'll need it in upcoming patch to RS4GC pass.
There is small interface change: now reversal of ChainToBase is
performed within this function, not outside.
Still this is non-functional change.
Details
Details
- Reviewers
skatkov anna - Commits
- rG004a70a96d83: [RS4GC] Turn lambda into static function. NFC.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If I read it correctly the only change you did while copying is handling reverse order. So lgtm.
You can consider split it into two NFC parts. The first one is handling reverse, the second one is just extract. It would be a bit easier to review.
BTW, now with you change, do we really need to copy Record.ChainToBase to ChainToBase?
dot at the end.