[llvm-commits] [llvm] r79325 - /llvm/trunk/lib/Support/Triple.cpp
Daniel Dunbar
daniel at zuster.org
Tue Aug 18 00:06:26 PDT 2009
Author: ddunbar
Date: Tue Aug 18 02:06:26 2009
New Revision: 79325
URL: http://llvm.org/viewvc/llvm-project?rev=79325&view=rev
Log:
Fix Triple to recognize the 'bfin' arch.
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=79325&r1=79324&r2=79325&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Tue Aug 18 02:06:26 2009
@@ -123,6 +123,8 @@
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")
More information about the llvm-commits
mailing list