aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-09-10 06:12:31 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-09-10 06:12:31 +0000
commite4405e949f7cdd701beb8a42a960f554276657b5 (patch)
tree17a7c18bb346aef237fc4dfc04bc03995c119b35 /llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
parent477121721bd8b103d2785f5fdf3f110e54dc0e54 (diff)
downloadllvm-e4405e949f7cdd701beb8a42a960f554276657b5.zip
llvm-e4405e949f7cdd701beb8a42a960f554276657b5.tar.gz
llvm-e4405e949f7cdd701beb8a42a960f554276657b5.tar.bz2
[ADT] Switch a bunch of places in LLVM that were doing single-character
splits to actually use the single character split routine which does less work, and in a debug build is *substantially* faster. llvm-svn: 247245
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
index 00cbbd1..d011c2b 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
@@ -32,7 +32,7 @@ static bool UsesVectorABI(StringRef CPU, StringRef FS) {
VectorABI = false;
SmallVector<StringRef, 3> Features;
- FS.split(Features, ",", -1, false /* KeepEmpty */);
+ FS.split(Features, ',', -1, false /* KeepEmpty */);
for (auto &Feature : Features) {
if (Feature == "vector" || Feature == "+vector")
VectorABI = true;