llvm-project/llvm/test/Analysis/CostModel/SystemZ
Jonas Paulsson 8ae0f88b13 [SystemZ::TTI] Return zero cost for ICmp that becomes Load And Test.
A loaded value with multiple users compared with 0 will become a load and
test single instruction. The load is not folded in this case (multiple
users), but the compare instruction is eliminated.

This patch returns 0 cost for the icmp in these cases.

Review: Ulrich Weigand
https://reviews.llvm.org/D55111

llvm-svn: 348141
2018-12-03 14:30:18 +00:00
..
cmp-ext-01.ll
cmp-ext-02.ll
cmp-mem.ll [SystemZ::TTI] Improved cost values for comparison against memory. 2018-11-28 08:08:05 +00:00
cmp-tofp-scalar.ll [SystemZ::TTI] Recognize the higher cost of scalar i1 -> fp conversion 2018-11-01 09:05:32 +00:00
cmp-tofp.ll [SystemZ::TTI] Accurate costs for i1->double vector conversions 2018-11-01 09:01:51 +00:00
cmpsel.ll
divrem-const.ll [SystemZ] Improve handling and cost estimates of vector integer div/rem 2018-10-25 21:47:22 +00:00
divrem-pow2.ll [SystemZ] Improve handling and cost estimates of vector integer div/rem 2018-10-25 21:47:22 +00:00
divrem-reg.ll [SystemZ::TTI] i8/i16 operands extension costs revisited 2018-11-30 07:09:34 +00:00
ext-load.ll
fp-arith.ll
fp-cast.ll [SystemZ::TTI] Improve accuracy of costs for vector fp <-> int conversions 2018-11-12 15:32:27 +00:00
int-arith.ll [SystemZ] Improve handling and cost estimates of vector integer div/rem 2018-10-25 21:47:22 +00:00
int-cast.ll
int-operands-extcost.ll [SystemZ::TTI] i8/i16 operands extension costs revisited 2018-11-30 07:09:34 +00:00
intrinsic-cost-crash.ll
intrinsics.ll [SystemZ::TTI] Return zero cost for scalar load/store connected with a bswap. 2018-11-28 07:52:34 +00:00
lit.local.cfg
load-and-test.ll [SystemZ::TTI] Return zero cost for ICmp that becomes Load And Test. 2018-12-03 14:30:18 +00:00
load-ptr-cmp-fold.ll [SystemZ] Take better care when computing needed vector registers in TTI. 2018-10-10 07:36:27 +00:00
load_store.ll
logical.ll [SystemZ::TTI] i8/i16 operands extension costs revisited 2018-11-30 07:09:34 +00:00
memop-folding-int-arith.ll [SystemZ::TTI] i8/i16 operands extension costs revisited 2018-11-30 07:09:34 +00:00
numvectorregs.ll [SystemZ] Take better care when computing needed vector registers in TTI. 2018-10-10 07:36:27 +00:00
scalar-cmp-cmp-log-sel.ll
shuffle.ll
vectorinstrs.ll