diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index a81fb5b58d6..65af29602ff 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -99,7 +99,7 @@ Triple::ArchType Triple::getArchTypeForLLVMName(const StringRef &Name) { return thumb; if (Name == "x86") return x86; - if (Name == "x86_64") + if (Name == "x86-64") return x86_64; if (Name == "xcore") return xcore;