[InstCombine] Remove redundant code from SimplifyUsingDistributiveLaws
authorCraig Topper <craig.topper@gmail.com>
Tue, 25 Apr 2017 17:54:12 +0000 (17:54 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 25 Apr 2017 17:54:12 +0000 (17:54 +0000)
commit09a5878d33051c3d3e432d97539420a21437fd7a
treef6345b8e4268d4e776aa93fc79ef18872626aa63
parentb0ff0a69c32487bc109c4d1203bfa239c5aedf0f
[InstCombine] Remove redundant code from SimplifyUsingDistributiveLaws

The code I've removed here exists in ExpandBinOp in InstSimplify which we call into before SimplifyUsingDistributiveLaws. The code in InstSimplify looks to have been copied from here.

I verified this code doesn't fire on any lit tests. Not that that proves its definitely dead.

Differential Revision: https://reviews.llvm.org/D32472

llvm-svn: 301341
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp