Remove a special case for tail merging that seems to be both broken and
authorBob Wilson <bob.wilson@apple.com>
Tue, 17 Nov 2009 18:30:09 +0000 (18:30 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 17 Nov 2009 18:30:09 +0000 (18:30 +0000)
commitaa60ddac394e8d79ecd9700e32b595c115585007
treea7414886541f0e50696ebdbd975ca91a2e586a79
parent076e085698c484354c9e131f1bd8fd001581397b
Remove a special case for tail merging that seems to be both broken and
unnecessary.  It is broken because the "isIdenticalTo" check should be
negated.  If that is fixed, this code causes the CodeGen/X86/tail-opts.ll
test to fail, in the dont_merge_oddly function.  And, I confirmed that the
regression is real -- the generated code is worse.  As far as I can tell,
that tail-opts.ll test is checking for what this code is supposed to handle
and we're doing the right thing anyway.

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