diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-17 04:05:21 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-17 04:05:21 +0000 |
commit | d32c4a1756b3c236b7f96cf11ba61e78ceb862bc (patch) | |
tree | efc886a8b0dfda898b35a18fd968cb87a10a5887 /lib/Transforms/Utils/Local.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions