summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-28 08:31:50 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-28 08:31:50 +0000
commitd6b7aca911bf77783b9e5f78fe0777fc874ee4ba (patch)
treea6d1aefc6db582dd73a2ebda5628140dba081cd6 /llvm/lib/Support/TargetParser.cpp
parent011a503f25cdbfff68bc28c8ac11f7df346674ef (diff)
downloadbcm5719-llvm-d6b7aca911bf77783b9e5f78fe0777fc874ee4ba.tar.gz
bcm5719-llvm-d6b7aca911bf77783b9e5f78fe0777fc874ee4ba.zip
[SystemZ::TTI] Improve costs for i16 add, sub and mul against memory.
AH, SH and MH costs are already covered in the cases where LHS is 32 bits and RHS is 16 bits of memory sign-extended to i32. As these instructions are also used when LHS is i16, this patch recognizes that the loads will get folded then as well. Review: Ulrich Weigand https://reviews.llvm.org/D54940 llvm-svn: 347734
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud