aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/bugpoint/ToolRunner.cpp')
-rw-r--r--llvm/tools/bugpoint/ToolRunner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp
index c4ea1dad122b..b81ab07980dd 100644
--- a/llvm/tools/bugpoint/ToolRunner.cpp
+++ b/llvm/tools/bugpoint/ToolRunner.cpp
@@ -607,12 +607,12 @@ AbstractInterpreter::createJIT(const char *Argv0, std::string &Message,
static bool IsARMArchitecture(std::vector<StringRef> Args) {
for (size_t I = 0; I < Args.size(); ++I) {
- if (!Args[I].equals_lower("-arch"))
+ if (!Args[I].equals_insensitive("-arch"))
continue;
++I;
if (I == Args.size())
break;
- if (Args[I].startswith_lower("arm"))
+ if (Args[I].startswith_insensitive("arm"))
return true;
}