Page MenuHomePhabricator

[IR] PR27065: Part1. Fix BasicBlock::removePredecessor to not break SSA form.
Needs RevisionPublic

Authored by dendibakh on Nov 5 2019, 11:23 AM.

Details

Summary

In certain cases BasicBlock::removePredecessor generates self-referencing instructions.

This patch fixes one of such cases.

Diff Detail

Event Timeline

dendibakh created this revision.Nov 5 2019, 11:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 5 2019, 11:23 AM
lebedev.ri requested changes to this revision.Nov 10 2019, 9:33 AM

(as per disscussion in https://reviews.llvm.org/D69865)

This revision now requires changes to proceed.Nov 10 2019, 9:33 AM