commit | ebd8d9a1ff15bc411f357c69609ecdd814b3ee33 | [log] [tgz] |
---|---|---|
author | Kyle Butt <kyle+llvm@iteratee.net> | Tue Jul 19 23:54:21 2016 +0000 |
committer | Kyle Butt <kyle+llvm@iteratee.net> | Tue Jul 19 23:54:21 2016 +0000 |
tree | 79db870c3c3348a8dfcb445e8db1a8df4d5a251d | |
parent | 9871423412faa2ed8380445a26ed1b0991a18502 [diff] |
Codegen: Factor out canTailDuplicate canTailDuplicate accepts two blocks and returns true if the first can be duplicated into the second successfully. Use this function to encapsulate the heuristic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276062 91177308-0d34-0410-b5e6-96231b3b80d8