- Dec 19, 2012
-
-
Bill Wendling authored
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future. llvm-svn: 170500
-
- Dec 16, 2012
-
-
Craig Topper authored
Don't use SourceLineCache in getColumnNumber if LastLineNoResult is past the end of the cache. Fixes PR14570. llvm-svn: 170281
-
- Dec 14, 2012
-
-
NAKAMURA Takumi authored
Targets.cpp: [cygwin] Add the predefined macro "_X86_", according to newer version of cygwin/w32api. llvm-svn: 170188
-
- Dec 13, 2012
-
-
Guy Benyei authored
Remove little endian specification from SPIR data layout - SPIR doesn't define endiannes in the data layout. llvm-svn: 170125
-
Rafael Espindola authored
Patch by Andrew Turner. llvm-svn: 170096
-
- Dec 12, 2012
-
-
Benjamin Kramer authored
No test case, this is debugging code. llvm-svn: 169980
-
- Dec 11, 2012
-
-
Douglas Gregor authored
latter is rather a mess to type. llvm-svn: 169919
-
Guy Benyei authored
llvm-svn: 169917
-
Benjamin Kramer authored
Instead of doing a binary search over the whole diagnostic table (which weighs a whopping 48k on x86_64), use the existing enums to compute the index in the table. This avoids loading any unneeded data from the table and avoids littering CPU caches with it. This code is in a hot path for code with many diagnostics. 1% speedup on -fsyntax-only gcc.c, which emits a lot of warnings. llvm-svn: 169890
-
Argyrios Kyrtzidis authored
a file or directory, allowing just a stat call if a file descriptor is not needed. Doing just 'stat' is faster than 'open/fstat/close'. This has the effect of cutting down system time for validating the input files of a PCH. llvm-svn: 169831
-
- Dec 09, 2012
-
-
Aaron Ballman authored
llvm-svn: 169705
-
- Dec 08, 2012
-
-
David Chisnall authored
Linux too, as I think we inherited it from there. The ABI spec says 128-bit, although I think SGI's compiler on IRIX may be the only thing ever to support this. llvm-svn: 169674
-
- Dec 07, 2012
-
-
DeLesley Hutchins authored
with -Werror. Previously, compiling with -Werror would emit only the first warning in a compilation unit, because clang assumes that once an error occurs, further analysis is unlikely to return valid results. However, warnings that have been upgraded to errors should not be treated as "errors" in this sense. llvm-svn: 169649
-
- Dec 04, 2012
-
-
Eli Bendersky authored
in the triple. llvm-svn: 169292
-
Chandler Carruth authored
uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
-
- Dec 01, 2012
-
-
Bill Wendling authored
Don't emit a warning with an input/output parameter. We assume the user knows what they're doing here. llvm-svn: 169059
-
Bill Wendling authored
the output size is greater than the register size. No truncation occurs with those. Reword warning to make it clearer what's the problem is. llvm-svn: 169054
-
- Nov 30, 2012
-
-
Quentin Colombet authored
llvm-svn: 168958
-
Quentin Colombet authored
llvm-svn: 168956
-
- Nov 29, 2012
-
-
Quentin Colombet authored
llvm-svn: 168953
-
- Nov 27, 2012
-
-
Eli Friedman authored
llvm-svn: 168674
-
- Nov 26, 2012
-
-
Eli Friedman authored
I'm looking at ways to fix the relevant test so it can catch this sort of mistake. llvm-svn: 168618
-
- Nov 17, 2012
-
-
Benjamin Kramer authored
Also fixes a bit/byte mismatch when checking if a target supports atomic ops of a certain size. llvm-svn: 168260
-
Eli Friedman authored
llvm-svn: 168239
-
Eli Friedman authored
Clean up X86 target feature translation code slightly. No intended functional change. Patch by Jung-uk Kim. llvm-svn: 168237
-
- Nov 16, 2012
-
-
Douglas Gregor authored
it as a pointer. llvm-svn: 168136
-
- Nov 15, 2012
-
-
Richard Smith authored
working with preprocessed testcases. This causes source locations in diagnostics to point at the spelling location instead of the presumed location, while still keeping the semantic effects of the line directives (entering and leaving system-header mode, primarily). llvm-svn: 168004
-
- Nov 14, 2012
-
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167983
-
- Nov 12, 2012
-
-
Bill Wendling authored
llvm-svn: 167735
-
Bill Wendling authored
The 'a', 'c', and 'd' constraints on i386 mean a 32-bit register. We cannot place a 64-bit value into the 32-bit register. Error out instead of causing the compiler to spew general badness. <rdar://problem/12415959> llvm-svn: 167717
-
- Nov 11, 2012
-
-
Nico Weber authored
llvm-svn: 167694
-
- Nov 10, 2012
-
-
Michael Liao authored
- New options '-mrtm'/'-mno-rtm' are added to enable/disable RTM feature - Builtin macro '__RTM__' is defined if RTM feature is enabled - RTM intrinsic header is added and introduces 3 new intrinsics, namely '_xbegin', '_xend', and '_xabort'. - 3 new builtins are added to keep compatible with gcc, namely '__builtin_ia32_xbegin', '__builtin_ia32_xend', and '__builtin_ia32_xabort'. - Test cases for pre-defined macro and new intrinsic codegen are added. llvm-svn: 167665
-
- Nov 09, 2012
-
-
Argyrios Kyrtzidis authored
writes to stderr; for debugging purposes. llvm-svn: 167629
-
- Nov 08, 2012
-
-
Benjamin Kramer authored
Haiku does not support this (yet). Leaving it set to true leads to configure scripts detecting __thread being available and Clang emitting code for it, resulting in binaries the runtime_loader will refuse to load. Patch by Jonathan Schleifer! llvm-svn: 167576
-
- Nov 06, 2012
-
-
Daniel Dunbar authored
llvm-svn: 167468
-
- Nov 05, 2012
-
-
Daniel Dunbar authored
- The whole {File,Source}Manager is built around wanting to pre-determine the size of files, so we can't fit this in naturally. Instead, we handle it like we do STDIN, where we just replace the main file contents upfront. llvm-svn: 167419
-
Richard Smith authored
*Sanitizer to Sanitize* in preparation for later patches. llvm-svn: 167405
-
- Oct 31, 2012
-
-
Seth Cantrell authored
invalid but not caught by isLegalUTF8(): 0xED 0x75 0x84 llvm-svn: 167063
-
- Oct 29, 2012
-
-
Bill Schmidt authored
ELF subtarget. The existing description string is moved from PPC64TargetInfo to its DarwinTargetInfo subclass, to avoid any changes to the Darwin ABI. PPC64TargetInfo now has two possible description strings: one for FreeBSD, which requires 8-byte alignment, and a default string that requires 16-byte alignment. I've added a test for PPC64 Linux to verify the 16-byte alignment. If somebody wants to add a separate test for FreeBSD, that would be great. Note that there is a companion patch to update the alignment information in LLVM, which I am committing now as well. llvm-svn: 166927
-
Ulrich Weigand authored
llvm-svn: 166924
-