From: Chris Lattner Date: Wed, 12 Aug 2009 06:45:02 +0000 (+0000) Subject: the x86 version of the name is x86-64, not x86_64. Handle this properly X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b796c4fde4f558d3b15455ff9ac8fb6bf62b8033;p=oota-llvm.git the x86 version of the name is x86-64, not x86_64. Handle this properly in getArchTypeForLLVMName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78799 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;