diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-08-30 11:23:10 +0000 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-08-30 11:23:10 +0000 |
commit | 227145924a5f38469b8113e65bc367b742bd0ea6 (patch) | |
tree | 6e2ba569519c5e28fe614a0dca589bb2f804884b /lldb/packages/Python/lldbsuite/test/python_api/value/main.c | |
parent | 9bad66393bf8e3cd8e7acd7a8b2ea37e67e00d3c (diff) | |
download | bcm5719-llvm-227145924a5f38469b8113e65bc367b742bd0ea6.tar.gz bcm5719-llvm-227145924a5f38469b8113e65bc367b742bd0ea6.zip |
[CodeGen] Introduce MachineBasicBlock::replacePhiUsesWith helper and use it. NFC
Summary:
Found a couple of places in the code where all the PHI nodes
of a MBB is updated, replacing references to one MBB by
reference to another MBB instead.
This patch simply refactors the code to use a common helper
(MachineBasicBlock::replacePhiUsesWith) for such PHI node
updates.
Reviewers: t.p.northover, arsenm, uabelho
Subscribers: wdng, hiraditya, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66750
llvm-svn: 370463
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/main.c')
0 files changed, 0 insertions, 0 deletions