SelectionDAG: Don't do libcall on div/rem if divrem is custom
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 27 May 2015 16:54:09 +0000 (16:54 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 27 May 2015 16:54:09 +0000 (16:54 +0000)
commit72be0e42241de427357afe3f30d36c853c5458e6
treedc943e1e259e42ab05683238c7caf93e366ae9cd
parentdf65fd32057e9fcb53bad884a18715ff8da43154
SelectionDAG: Don't do libcall on div/rem if divrem is custom

v2: TargetLoweringBase:: -> TargetLowering::
    Use Ops array
v3: Explicitly use value 0 for ?DIV
    Remove redundant newline

Differential revision: http://reviews.llvm.org/D7803
reviewer: ab

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