diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-16 22:56:14 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-16 22:56:14 +0000 |
commit | 07d61425e396d4d0a2d4d75c48ce881634c6a513 (patch) | |
tree | 18c0e7fd14d4bb45047e35c540528c53c4afae53 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 60ea1b43d60ff72e23bf35c50d8df29c22c5476d (diff) | |
download | llvm-07d61425e396d4d0a2d4d75c48ce881634c6a513.zip llvm-07d61425e396d4d0a2d4d75c48ce881634c6a513.tar.gz llvm-07d61425e396d4d0a2d4d75c48ce881634c6a513.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions