[cfe-commits] r65124 - /cfe/trunk/lib/Basic/Targets.cpp
Chris Lattner
sabre at nondot.org
Fri Feb 20 09:04:14 PST 2009
Author: lattner
Date: Fri Feb 20 11:04:14 2009
New Revision: 65124
URL: http://llvm.org/viewvc/llvm-project?rev=65124&view=rev
Log:
add support for amd64-*, patch by Brooks Davis!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=65124&r1=65123&r2=65124&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Feb 20 11:04:14 2009
@@ -1015,7 +1015,7 @@
return new SparcV8TargetInfo(T);
}
- if (T.find("x86_64-") == 0) {
+ if (T.find("x86_64-") == 0 || T.find("amd64-") == 0) {
if (isDarwin)
return new DarwinX86_64TargetInfo(T);
if (isLinux)
More information about the cfe-commits
mailing list