summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2019-09-20 23:04:45 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2019-09-20 23:04:45 +0000
commit819c1651f723b51490eb98b3fc11cbd7dafc7831 (patch)
treebbbac17cdd9eb994e37589804913c65be42637fd /llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
parent4a58936716e5733662ca1f46734594db0a0e67b9 (diff)
downloadbcm5719-llvm-819c1651f723b51490eb98b3fc11cbd7dafc7831.tar.gz
bcm5719-llvm-819c1651f723b51490eb98b3fc11cbd7dafc7831.zip
[SystemZ] Support z15 processor name
The recently announced IBM z15 processor implements the architecture already supported as "arch13" in LLVM. This patch adds support for "z15" as an alternate architecture name for arch13. The patch also uses z15 in a number of places where we used arch13 as long as the official name was not yet announced. llvm-svn: 372435
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
index 145cf87ef9f..8d45e67d73c 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
@@ -707,7 +707,7 @@ int SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
// TODO: Fix base implementation which could simplify things a bit here
// (seems to miss on differentiating on scalar/vector types).
- // Only 64 bit vector conversions are natively supported before arch13.
+ // Only 64 bit vector conversions are natively supported before z15.
if (DstScalarBits == 64 || ST->hasVectorEnhancements2()) {
if (SrcScalarBits == DstScalarBits)
return NumDstVectors;
OpenPOWER on IntegriCloud