This is an archive of the discontinued LLVM Phabricator instance.

[NFC] BasicBlock: refactor changePhiUses() out of replacePhiUsesWith(), use it
ClosedPublic

Authored by lebedev.ri on Apr 23 2019, 6:39 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper added inline comments.Apr 23 2019, 10:07 PM
lib/IR/BasicBlock.cpp
440 ↗(On Diff #196236)

replacePhiUsesWith?

lebedev.ri marked an inline comment as done.
lebedev.ri retitled this revision from [NFC] BasicBlock: refactor changePhiUses() out of replaceSuccessorsPhiUsesWith(), use it to [NFC] BasicBlock: refactor changePhiUses() out of replacePhiUsesWith(), use it.
craig.topper added inline comments.Apr 25 2019, 5:03 PM
lib/Transforms/Scalar/LoopInterchange.cpp
1284 ↗(On Diff #196414)

Should the callers of updateIncomingBlock just use replacePhiUsesWith directly?

lebedev.ri marked an inline comment as done.

Address review notes.

This revision is now accepted and ready to land.May 5 2019, 10:06 AM
This revision was automatically updated to reflect the committed changes.