- Jun 11, 2014
-
-
Eric Christopher authored
so that we can use initializer lists for the AArch64 Subtarget. llvm-svn: 210616
-
Richard Smith authored
llvm-svn: 210615
-
Eric Christopher authored
so that we can use initializer lists for the X86Subtarget. llvm-svn: 210614
-
Eric Christopher authored
llvm-svn: 210613
-
Nick Kledzik authored
llvm-svn: 210612
-
Reid Kleckner authored
We currently allow unqualified lookup for instance methods but not static methods because we can't recover with a semantic 'this->' insertion. ATL headers have static methods that do unqualified lookup into dependent base classes. The pattern looks like: template <typename T> struct Foo : T { static int *getBarFromT() { return Bar; } }; Now we recover as if the user had written: template <typename T> struct Foo : T { static int *getBarFromT() { return Foo::Bar; } }; ... which will eventually look up Bar in T at instantiation time. Now we emit a diagnostic in both cases, and delay lookup in other contexts where 'this' is available and refers to a class with dependent bases. Reviewed by: rsmith Differential Revision: http://reviews.llvm.org/D4079 llvm-svn: 210611 -
Juergen Ributzka authored
llvm-svn: 210610
-
Richard Smith authored
preferred-alignment transformations. Corrects alignof(T[]) to return alignof(T) in all cases, as required by relevant standards. llvm-svn: 210609
-
Richard Smith authored
expression of array-of-unknown-bound type, don't try to complete the array bound, and return the alignment of the element type rather than 1. llvm-svn: 210608
-
Reid Kleckner authored
While matching a non-type template argument against a known template type parameter we now modify the AST's TemplateArgumentLoc to assume the user wrote typename. Under -fms-compatibility, we downgrade our diagnostic from an error to an extwarn. Reviewed by: rsmith Differential Revision: http://reviews.llvm.org/D4049 llvm-svn: 210607
-
Eric Christopher authored
llvm-svn: 210606
-
Eric Christopher authored
This currently necessitates a TargetMachine for the TargetLowering constructor and TLOF. llvm-svn: 210605
-
Zachary Turner authored
This reverts r210601. llvm-svn: 210604
-
Zachary Turner authored
This reverts revision r210600. llvm-svn: 210603
-
Todd Fiala authored
Initial check-in provided a nibble count instead of byte count for the memory to write. Fixed that. Enhanced test to check for overwrite past the expected range of writing to verify the correct amount is written. llvm-svn: 210602
-
Zachary Turner authored
support (llvm revision r210600). Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4077 llvm-svn: 210601
-
Zachary Turner authored
This patch removes the functions llvm_start_multithreaded() and llvm_stop_multithreaded(), and changes llvm_is_multithreaded() to return a constant value based on the value of the compile-time definition LLVM_ENABLE_THREADS. Previously, it was possible to have compile-time support for threads on, and runtime support for threads off, in which case certain mutexes were not allocated or ever acquired. Now, if the build is created with threads enabled, mutexes are always acquired. A test before/after patch of compiling a very large TU showed no noticeable performance impact of this change. Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4076 llvm-svn: 210600
-
Eric Christopher authored
llvm-svn: 210599
-
Eric Christopher authored
llvm-svn: 210598
-
Hans Wennborg authored
It would previously say things like warning: input 'test/Frontend/foo.c' contained no tests and have the user pull their hair trying to figure out what's wrong with that file. This patch changes the message to the much clearer: warning: no such file or directory: 'test/Frontend/foo.c' Differential Revision: http://reviews.llvm.org/D4097 llvm-svn: 210597
-
Eric Christopher authored
llvm-svn: 210596
-
Eric Christopher authored
using the subtarget. llvm-svn: 210595
-
Todd Fiala authored
llvm-svn: 210594
-
Reid Kleckner authored
r210369 didn't quite catch all of them. llvm-svn: 210593
-
Ed Maste authored
We preivously had two copies of ::BytesAvailable with only trivial differences between them, and fixes have been applied to only one of them. Instead of duplicating the whole function, hide the FD_SET differences behind a macro. This leaves only one small __APPLE__-specific #if block, and fixes ^C on non-__APPLE__ platforms. llvm-svn: 210592
-
Rafael Espindola authored
This reduces the difference between std::error_code and llvm::error_code. llvm-svn: 210591
-
Rafael Espindola authored
llvm-svn: 210590
-
Eric Christopher authored
of using the cached TargetMachine. llvm-svn: 210589
-
Tom Stellard authored
I can't get VGPR spilling to work reliable, so for now just emit an error when the register allocator tries to spill VGPRs. v2: - Fix build v3: - Added crash fix when spilling SPGRs v4: - Use V_MOV_B32 as a dummy instruction instead of S_NOP Patch by: Darren Powell https://bugs.freedesktop.org/show_bug.cgi?id=75276 llvm-svn: 210588
-
Tom Stellard authored
We need to make sure only one new instruction is added when spilling otherwise the register allocator may crash. This fixes a crash in the game Antichamber. https://bugs.freedesktop.org/show_bug.cgi?id=75276 llvm-svn: 210587
-
Bob Wilson authored
llvm-svn: 210586
-
Richard Smith authored
llvm-svn: 210585
-
rdar://problem/17235840Bob Wilson authored
The changes in r204978 broke win32-macho targets. There were checks added for MSVC and Itanium environments as special cases, and win32-macho needs to be treated the same way. llvm-svn: 210584
-
Kaelyn Takata authored
No functionality change. llvm-svn: 210583
-
Hans Wennborg authored
Patch by Ehsan Akhgari! (Test tweak by me.) Differential Revision: http://reviews.llvm.org/D4065 llvm-svn: 210582
-
Rafael Espindola authored
This will be needed for the switch to std::error_code. llvm-svn: 210581
-
Eric Christopher authored
llvm-svn: 210580
-
Eric Christopher authored
version of TargetLowering/Machine from there on the way to avoiding TargetMachine in TargetLowering. llvm-svn: 210579
-
Eric Christopher authored
llvm-svn: 210578
-
David Fang authored
http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki <oroppas gmail com> llvm-svn: 210577
-