[all-commits] [llvm/llvm-project] 004a70: [RS4GC] Turn lambda into static function. NFC.

dantrushin via All-commits all-commits at lists.llvm.org
Tue Dec 13 01:15:52 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 004a70a96d83bce461163d6e1b35f4c3851249b3
  Author: Denis Antrushin <dantrushin at gmail.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

  Log Message:
  [RS4GC] Turn lambda into static function. NFC.

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.

Reviewed By: skatkov

Differential Revision: https://reviews.llvm.org/D138910

More information about the All-commits mailing list