aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 17:32:10 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 17:32:10 +0000
commitd950941e138455ebcd7a5f55805dcb977892e3e3 (patch)
treef9732e3dd797f8f76f0c886f57f295daeb1f1a92 /lib/Support/Triple.cpp
parent4ea480499c40cd7e28bf35cacda33ccbab2aab07 (diff)
Analog Devices Blackfin back-end.
Generate code for the Blackfin family of DSPs from Analog Devices: http://www.analog.com/en/embedded-processing-dsp/blackfin/processors/index.html We aim to be compatible with the exsisting GNU toolchain found at: http://blackfin.uclinux.org/gf/project/toolchain The back-end is experimental. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index af372e2da6..391c98656d 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -23,6 +23,7 @@ const char *Triple::getArchTypeName(ArchType Kind) {
case alpha: return "alpha";
case arm: return "arm";
+ case bfin: return "bfin";
case cellspu: return "cellspu";
case mips: return "mips";
case mipsel: return "mipsel";
@@ -107,6 +108,8 @@ void Triple::Parse() const {
Arch = sparc;
else if (ArchName == "s390x")
Arch = systemz;
+ else if (ArchName == "bfin")
+ Arch = bfin;
else
Arch = UnknownArch;