summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-28 08:08:05 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-28 08:08:05 +0000
commit011a503f25cdbfff68bc28c8ac11f7df346674ef (patch)
tree8268f1b725707d14a70fe6ea4b402a6d76a96f21 /llvm/lib/Support/TargetParser.cpp
parent5da8e432b9f1824e9be807e4e606f02351a5d8c3 (diff)
downloadbcm5719-llvm-011a503f25cdbfff68bc28c8ac11f7df346674ef.tar.gz
bcm5719-llvm-011a503f25cdbfff68bc28c8ac11f7df346674ef.zip
[SystemZ::TTI] Improved cost values for comparison against memory.
Single instructions exist for i8 and i16 comparisons of memory against a small immediate. This patch makes sure that if the load in these cases has a single user (the ICmp), it gets a 0 cost (folded), and also that the ICmp gets a cost of 1. Review: Ulrich Weigand https://reviews.llvm.org/D54897 llvm-svn: 347733
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud