diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-12 06:45:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-12 06:45:02 +0000 |
commit | 8268cc9c77a9e0549c440f554d827b2320aa203c (patch) | |
tree | 6f85d0ae61b01b9d9ccf0f1a3e8682d415e91b3d /llvm/lib/Support/Triple.cpp | |
parent | 0ea6e4cc7fc3c80b2288485a2df3950f3127a413 (diff) | |
download | bcm5719-llvm-8268cc9c77a9e0549c440f554d827b2320aa203c.tar.gz bcm5719-llvm-8268cc9c77a9e0549c440f554d827b2320aa203c.zip |
the x86 version of the name is x86-64, not x86_64. Handle this properly
in getArchTypeForLLVMName.
llvm-svn: 78799
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index a81fb5b58d6..65af29602ff 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/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; |