commit | 3d7281b8c92eef251d4a99b80eec4600ac643b2c | [log] [tgz] |
---|---|---|
author | Kyle Butt <kyle+llvm@iteratee.net> | Wed Jul 20 00:01:51 2016 +0000 |
committer | Kyle Butt <kyle+llvm@iteratee.net> | Wed Jul 20 00:01:51 2016 +0000 |
tree | ec575962128cd03032b95fbfc53e680e3a76a9ab | |
parent | 98e46ef19cd11d2b38d107247aee5f98e856c00e [diff] |
Codegen: Tail Duplication: Only duplicate into layout pred if it is a CFG Pred. Add a check that the layout predecessor of a block is an actual CFG predecssor of the block as well. No current code fails this check, but upcoming patches can trigger this, and it makes sense to separate it out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276066 91177308-0d34-0410-b5e6-96231b3b80d8