| commit | 07d61425e396d4d0a2d4d75c48ce881634c6a513 | [log] [tgz] |
|---|---|---|
| author | Kyle Butt <kyle+llvm@iteratee.net> | Tue Aug 16 22:56:14 2016 +0000 |
| committer | Kyle Butt <kyle+llvm@iteratee.net> | Tue Aug 16 22:56:14 2016 +0000 |
| tree | 18c0e7fd14d4bb45047e35c540528c53c4afae53 | |
| parent | 60ea1b43d60ff72e23bf35c50d8df29c22c5476d [diff] |
Codegen: Don't tail-duplicate blocks with un-analyzable fallthrough. If AnalyzeBranch can't analyze a block and it is possible to fallthrough, then duplicating the block doesn't make sense, as only one block can be the layout predecessor for the un-analyzable fallthrough. Submitted wit a test case, but NOTE: the test case doesn't currently fail. However, the test case fails with D20505 and would have saved me some time debugging. llvm-svn: 278866