Perform tail duplication only once, after tail merging is complete.
authorBob Wilson <bob.wilson@apple.com>
Tue, 17 Nov 2009 17:06:18 +0000 (17:06 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 17 Nov 2009 17:06:18 +0000 (17:06 +0000)
commit56ea69c3a251434db3fef489881368e29c95712d
treea968fd1ff685801fa63c9905de0d35bd1bffe2b1
parent2cd8abbf8631921c744d021214dd21998a25a946
Perform tail duplication only once, after tail merging is complete.
It was too difficult to keep the heuristics for merging and duplication
consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89105 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
lib/CodeGen/BranchFolding.h