Merge DAGCombiner::visitSREM and DAGCombiner::visitUREM (NFC)
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 14 Oct 2015 16:54:14 +0000 (16:54 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 14 Oct 2015 16:54:14 +0000 (16:54 +0000)
commitd86f867e9ee9b6055f91565a195c69ae15eceac7
tree0c426c555750c6993e2628b33db1ee3d19f5d6f0
parentc2fd5af9869635f4bb0ef57712f5a044230582e0
Merge DAGCombiner::visitSREM and DAGCombiner::visitUREM (NFC)

Summary: The two implementations had more code in common than not.

Reviewers: sunfish, MatzeB, sdmitrouk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13724

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp