]> granicus.if.org Git - llvm/commit
[SystemZ] implement hasDivRemOp()
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 6 Nov 2017 13:10:31 +0000 (13:10 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 6 Nov 2017 13:10:31 +0000 (13:10 +0000)
commit044ea898ddf3cf201f6507e0ebfd410353f7ae64
tree39f1697edd719ad7ddabf4ef3796f93b8a13642e
parent13a223e6e625f33131130d2802b1211cc1880a96
[SystemZ]  implement hasDivRemOp()

SystemZ can do division and remainder in a single instruction for scalar
integer types, which are now reflected by returning true in this hook for
those cases.

Review: Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317477 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
lib/Target/SystemZ/SystemZTargetTransformInfo.h