]> granicus.if.org Git - llvm/commit
[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)
commit4b3dea8edf33f01fd72eef9a69a01ca63c330c21
treef8e4f066189382cce3477c46294c9efe42480015
parent21db70eaca1c738935a47bbdc3d05a561a6329ea
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301341 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstructionCombining.cpp