commit | 6bf861597c87d708336c6ed36678d91b75d1043c | [log] [tgz] |
---|---|---|
author | Max Kazantsev <max.kazantsev@azul.com> | Tue Feb 12 07:48:07 2019 +0000 |
committer | Max Kazantsev <max.kazantsev@azul.com> | Tue Feb 12 07:48:07 2019 +0000 |
tree | f09289902767e5888de59b39314d56f1ce83c55e | |
parent | 4390c721cba09597037578100948bbc83cc41b16 [diff] |
[LoopSimplifyCFG] Pay respect to LCSSA when removing dead blocks Utility function that we use for blocks deletion always unconditionally removes one-input Phis. In LoopSimplifyCFG, it can lead to breach of LCSSA form. This patch alters this function to keep them if needed. Differential Revision: https://reviews.llvm.org/D57231 Reviewed By: fedor.sergeev llvm-svn: 353803