[NaryReassociate] remove redundant code
authorJingyue Wu <jingyue@google.com>
Thu, 23 Jul 2015 23:13:37 +0000 (23:13 +0000)
committerJingyue Wu <jingyue@google.com>
Thu, 23 Jul 2015 23:13:37 +0000 (23:13 +0000)
commitcab4b8c41b3ad08b3d2b845fa188109a469e40f5
tree2ac0c46f8f360b415fd67cd4d3c2009d34aeee64
parent832202c797450c665d516b3b8fecc0db80009c15
[NaryReassociate] remove redundant code

This check is already done by findClosestMatchingDominator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/NaryReassociate.cpp