OSDN Git Service

[SystemZ] Modelling of costs of divisions with a constant power of 2.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 17 May 2017 12:46:26 +0000 (12:46 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 17 May 2017 12:46:26 +0000 (12:46 +0000)
commit2460452d77d0ceb376158385e096102c46082e2f
treed56725f02cfcdc9926846f8289d759dd624e23cf
parent7e6b531c1ab4bd79c56b0477d0d0fad6c1b0695a
[SystemZ]  Modelling of costs of divisions with a constant power of 2.

Such divisions will eventually be implemented with shifts which should
be reflected in the cost function.

Review: Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303254 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
test/Analysis/CostModel/SystemZ/div-pow2.ll [new file with mode: 0644]