Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SCCP] Fix crash when trying to constant-fold terminators multiple times. | Florian Hahn | 2019-05-08 | 1 | -0/+92 |
If we fold a branch/switch to an unconditional branch to another dead block we replace the branch with unreachable, to avoid attempting to fold the unconditional branch. Reviewers: davide, efriedma, mssimpso, jdoerfert Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D61300 llvm-svn: 360232 |