- May 25, 2013
-
-
Argyrios Kyrtzidis authored
llvm-svn: 182698
-
Argyrios Kyrtzidis authored
Suggested by Jordan. llvm-svn: 182695
-
Argyrios Kyrtzidis authored
This is to address crash in rdar://13932308 llvm-svn: 182681
-
- May 24, 2013
-
-
Michael J. Spencer authored
llvm-svn: 182675
-
- May 19, 2013
-
-
Jakob Stoklund Olesen authored
Other operating systems, including FreeBSD and NetBSD, use long. llvm-svn: 182215
-
- May 16, 2013
-
-
Argyrios Kyrtzidis authored
This is a modified version of a patch by Manuel Klimek. llvm-svn: 182055
-
David Fang authored
llvm-svn: 182029
-
- May 15, 2013
-
-
Jakob Stoklund Olesen authored
It's an LP64 platform. llvm-svn: 181867
-
- May 14, 2013
-
-
Rafael Espindola authored
This matches gcc's behaviour. The patch also explicitly parses the version so that this keeps working when we add support for v8. llvm-svn: 181750
-
- May 13, 2013
-
-
Rafael Espindola authored
This is safe given how the pre-v6 atomic ops funcions in libgcc are implemented. This fixes pr15429. llvm-svn: 181728
-
Alexey Bataev authored
llvm-svn: 181683
-
- May 06, 2013
-
-
Ulrich Weigand authored
Add SystemZ support This patch then adds all the usual platform-specific pieces for SystemZ: driver support, basic target info, register names and constraints, ABI info and vararg support. It also adds new tests to verify pre-defined macros and inline asm, and updates a test for the minimum alignment change. This version of the patch incorporates feedback from reviews by Eric Christopher and John McCall. Thanks to all reviewers! Patch by Richard Sandiford. llvm-svn: 181211
-
Ulrich Weigand authored
Allow targets to define minimum alignment for global variables This patch adds a new common code feature that allows platform code to request minimum alignment of global symbols. The background for this is that on SystemZ, the most efficient way to load addresses of global symbol is the LOAD ADDRESS RELATIVE LONG (LARL) instruction. This instruction provides PC-relative addressing, but only to *even* addresses. For this reason, existing compilers will guarantee that global symbols are always aligned to at least 2. [ Since symbols would otherwise already use a default alignment based on their type, this will usually only affect global objects of character type or character arrays. ] GCC also allows creating symbols without that extra alignment by using explicit "aligned" attributes (which then need to be used on both definition and each use of the symbol). To enable support for this with Clang, this patch adds a TargetInfo::MinGlobalAlign variable that provides a global minimum for the alignment of every global object (unless overridden via explicit alignment attribute), and adds code to respect this setting. Within this patch, no platform actually sets the value to anything but the default 1, resulting in no change in behaviour on any existing target. This version of the patch incorporates feedback from reviews by Eric Christopher and John McCall. Thanks to all reviewers! Patch by Richard Sandiford. llvm-svn: 181210
-
- May 04, 2013
-
-
Tim Northover authored
libgcc provides a __clear_cache intrinsic on AArch64, much like it does on 32-bit ARM. llvm-svn: 181111
-
Argyrios Kyrtzidis authored
Per discussion in cfe-commits, asserting may be a better way than introducing a special test flag. llvm-svn: 181073
-
Douglas Gregor authored
llvm-svn: 181070
-
Douglas Gregor authored
Previously, we would clone the current diagnostic consumer to produce a new diagnostic consumer to use when building a module. The problem here is that we end up losing diagnostics for important diagnostic consumers, such as serialized diagnostics (where we'd end up with two diagnostic consumers writing the same output file). With forwarding, the diagnostics from all of the different modules being built get forwarded to the one serialized-diagnostic consumer and are emitted in a sane way. Fixes <rdar://problem/13663996>. llvm-svn: 181067
-
- May 03, 2013
-
-
Rafael Espindola authored
Clang always calls setWarnOnSpellCheck, but we shouldn't require every client to do so. Issue noticed by Enea Zaffanella. llvm-svn: 181021
-
Benjamin Kramer authored
llvm-svn: 181006
-
- Apr 24, 2013
-
-
Jakob Stoklund Olesen authored
Solaris/AuroraUX only need __arch64__, the BSDs need the other variants. llvm-svn: 180172
-
- Apr 19, 2013
-
-
Benjamin Kramer authored
llvm-svn: 179806
-
- Apr 18, 2013
-
-
Benjamin Kramer authored
Fixes PR15759. llvm-svn: 179756
-
Argyrios Kyrtzidis authored
Typo correction for an unqualified name needs to walk through all of the identifier tables of all modules. When we have a global index, just walk its identifier table only. rdar://13425732 llvm-svn: 179730
-
- Apr 16, 2013
-
-
Jakob Stoklund Olesen authored
The SPARC v8 and SPARC v8 architectures are very similar, so use a base class to share most information between them. Include operating systems with known SPARC v9 ports. Also fix two issues with the SPARC v8 data layout string: SPARC v8 is a big endian target with a 64-bit aligned stack. llvm-svn: 179596
-
- Apr 14, 2013
-
-
Simon Atanasyan authored
llvm-svn: 179489
-
Simon Atanasyan authored
independent of float ABI feature in the MipsTargetInfoBase class. llvm-svn: 179486
-
- Apr 13, 2013
-
-
Argyrios Kyrtzidis authored
Introduce SourceManager::getDecomposedIncludedLoc, that returns the "included/expanded in" decomposed location of the given FileID. The main benefit is to speed-up SourceManager::isBeforeInTranslationUnit which is common to query the included/expanded location of the same FileID multiple times. llvm-svn: 179435
-
- Apr 08, 2013
-
-
Eli Bendersky authored
Remove the custom lowering code dealing with it, disallow it in PNaclTargetInfo and adjust tests accordingly. llvm-svn: 179059
-
- Apr 05, 2013
-
-
Tim Northover authored
The prefixes and names used are now identical to 32-bit ARM, which is also expected to remain unchanged. If we made this change after a release, we'd probably have to support both variants for a while, but I think since AArch64 exists only on trunk now, it's acceptable to simply swap them now. llvm-svn: 178870
-
Michael J. Spencer authored
This fixes std::thread with libstdc++. llvm-svn: 178816
-
- Apr 01, 2013
-
-
Tom Stellard authored
llvm-svn: 178498
-
- Mar 30, 2013
-
-
Justin Holewinski authored
llvm-svn: 178419
-
Hal Finkel authored
gcc provides -mfprnd and -mno-fprnd for controlling the fprnd target feature; support these options as well. llvm-svn: 178414
-
- Mar 29, 2013
-
-
Michael Liao authored
llvm-svn: 178331
-
- Mar 28, 2013
-
-
Hal Finkel authored
gcc provides -mpopcntd and -mno-popcntd for controlling the popcntd target feature; support these options as well. llvm-svn: 178235
-
Hal Finkel authored
gcc provides -mmfcrf and -mno-mfcrf for controlling what we call the mfocrf target feature. Also, PPC is now making use of the static function AddTargetFeature used by the Mips Driver code. llvm-svn: 178227
-
- Mar 26, 2013
-
-
Michael Liao authored
- Add head 'prfchwintrin.h' to define '_m_prefetchw' which is mapped to LLVM/clang prefetch builtin - Add option '-mprfchw' to enable PRFCHW feature and pre-define '__PRFCHW__' macro llvm-svn: 178041
-
rdar://problem/13358795Douglas Gregor authored
<rdar://problem/13358795> Teach CMake to check Subversion version information at build time, not configure time. llvm-svn: 177939
-
- Mar 25, 2013
-
-
Matt Beaumont-Gay authored
llvm-svn: 177922
-
- Mar 22, 2013
-
-
Alexey Bataev authored
llvm-svn: 177705
-