[all-commits] [llvm/llvm-project] cec9e7: [rs4gc] Simplify code by cloning existing instruct...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Mar 16 13:16:41 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cec9e7352bebe06681a9627f3fc08228129b7681
https://github.com/llvm/llvm-project/commit/cec9e7352bebe06681a9627f3fc08228129b7681
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-03-16 (Tue, 16 Mar 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Log Message:
-----------
[rs4gc] Simplify code by cloning existing instructions when inserting base chain [NFC]
Previously we created a new node, then filled in the pieces. Now, we clone the existing node, then change the respective fields. The only change in handling is with phis since we have to handle multiple incoming edges from the same block a bit differently.
Differential Revision: https://reviews.llvm.org/D98316
More information about the All-commits
mailing list