commit | d32c4a1756b3c236b7f96cf11ba61e78ceb862bc | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Nov 17 04:05:21 2010 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Nov 17 04:05:21 2010 +0000 |
tree | efc886a8b0dfda898b35a18fd968cb87a10a5887 | |
parent | 6678e7b6eb534b43b92105076e6d0553e5cf7def [diff] |
Remove dead code in GVN: now that SimplifyInstruction is called systematically, CollapsePhi will always return null here. Note that CollapsePhi did an extra check, isSafeReplacement, which the SimplifyInstruction logic does not do. I think that check was bogus - I guess we will soon find out! (It was originally added in commit 41998 without a testcase). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119456 91177308-0d34-0410-b5e6-96231b3b80d8