aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-18 07:06:26 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-18 07:06:26 +0000
commit33d86f22f2973275fb72c82cff6ebf8276e0872c (patch)
tree39a87753d069fdb68324ccd967421ad88386373d /llvm/lib/Support/Triple.cpp
parent0adae25ec1af9a51eb864a13055dd2f70043cdb0 (diff)
downloadllvm-33d86f22f2973275fb72c82cff6ebf8276e0872c.zip
llvm-33d86f22f2973275fb72c82cff6ebf8276e0872c.tar.gz
llvm-33d86f22f2973275fb72c82cff6ebf8276e0872c.tar.bz2
Fix Triple to recognize the 'bfin' arch.
llvm-svn: 79325
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index e5ee6d5..c2982ce 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -123,6 +123,8 @@ void Triple::Parse() const {
Arch = x86;
else if (ArchName == "amd64" || ArchName == "x86_64")
Arch = x86_64;
+ else if (ArchName == "bfin")
+ Arch = bfin;
else if (ArchName == "pic16")
Arch = pic16;
else if (ArchName == "powerpc")