e293185ec8
* Added support for AArch64, ARM’s 64-bit architecture. * LLVM now has a new SLP vectorizer. * LLVM and clang now support IBM’s z/Architecture. * The R600 backend was added in this release, it supports AMD GPUs (HD2XXX - HD7XXX). * See http://llvm.org/releases/3.3/docs/ReleaseNotes.html for complete changelog. - Drop upstream patches: * pr13303.patch * pr14795.patch * pr14831.patch * python-ulimit.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=208
21 lines
752 B
Diff
21 lines
752 B
Diff
Index: llvm-3.3/tools/clang/lib/Driver/Tools.cpp
|
|
===================================================================
|
|
--- llvm-3.3.orig/tools/clang/lib/Driver/Tools.cpp
|
|
+++ llvm-3.3/tools/clang/lib/Driver/Tools.cpp
|
|
@@ -1243,12 +1243,12 @@ static const char *getX86TargetCPU(const
|
|
if (Triple.getOSName().startswith("netbsd"))
|
|
return "i486";
|
|
// All x86 devices running Android have core2 as their common
|
|
- // denominator. This makes a better choice than pentium4.
|
|
+ // denominator. This makes a better choice than i586.
|
|
if (Triple.getEnvironment() == llvm::Triple::Android)
|
|
return "core2";
|
|
|
|
- // Fallback to p4.
|
|
- return "pentium4";
|
|
+ // Fallback to i586.
|
|
+ return "i586";
|
|
}
|
|
|
|
void Clang::AddX86TargetArgs(const ArgList &Args,
|