- 13 May, 2012 1 commit
-
-
Bill Wendling authored
llvm-svn: 156734
-
- 12 May, 2012 16 commits
-
-
Bill Wendling authored
llvm-svn: 156702
-
Bill Wendling authored
```--------------------------------------------------------------------- r155426 | rsmith | 2012-04-23 22:48:42 -0700 (Mon, 23 Apr 2012) | 3 lines Don't try to delay parsing the exception specification for a data member of a class; we would never actually parse it and attach it to the type. ``` --------------------------------------------------------------------- llvm-svn: 156701
-
Bill Wendling authored
llvm-svn: 156688
-
Bill Wendling authored
```--------------------------------------------------------------------- r156031 | rsmith | 2012-05-02 15:22:32 -0700 (Wed, 02 May 2012) | 4 lines Revert most of r154844, which was disabled in r155975. Keep around the refactorings in that revision, and some of the subsequent bugfixes, which seem to be relevant even without delayed exception specification parsing. ``` --------------------------------------------------------------------- llvm-svn: 156684
-
Bill Wendling authored
```--------------------------------------------------------------------- r155293 | rsmith | 2012-04-21 11:42:51 -0700 (Sat, 21 Apr 2012) | 4 lines Fix regression in r154844. If necessary, defer computing adjusted destructor exception specifications in C++11 until after we've parsed the exception specifications for nested classes. ``` --------------------------------------------------------------------- llvm-svn: 156683
-
Bill Wendling authored
```--------------------------------------------------------------------- r155218 | rsmith | 2012-04-20 11:46:14 -0700 (Fri, 20 Apr 2012) | 5 lines Fix bug where a class's (deleted) copy constructor would be implicitly given a non-const reference parameter type if the class had any subobjects with deleted copy constructors. This causes a rejects-valid if the class's copy constructor is explicitly defaulted (as happens for some implementations of std::pair etc). ``` --------------------------------------------------------------------- llvm-svn: 156682
-
Bill Wendling authored
```--------------------------------------------------------------------- r155289 | rsmith | 2012-04-21 10:47:47 -0700 (Sat, 21 Apr 2012) | 3 lines Fix serialization of uninstantiated exception specifications. Patch by Li Kan, test by me. ``` --------------------------------------------------------------------- llvm-svn: 156681
-
Bill Wendling authored
```--------------------------------------------------------------------- r155424 | rsmith | 2012-04-23 22:06:35 -0700 (Mon, 23 Apr 2012) | 3 lines PR12629: Cope with parenthesized function types when attaching a delayed exception specification to a function. ``` --------------------------------------------------------------------- llvm-svn: 156679
-
Bill Wendling authored
```--------------------------------------------------------------------- r155608 | rsmith | 2012-04-25 20:16:45 -0700 (Wed, 25 Apr 2012) | 3 lines PR12660: Don't crash when initializing a const reference from a braced init list which creates a temporary by calling a constructor. ``` --------------------------------------------------------------------- llvm-svn: 156678
-
Bill Wendling authored
```--------------------------------------------------------------------- r155356 | dgregor | 2012-04-23 09:42:52 -0700 (Mon, 23 Apr 2012) | 3 lines Teach RequireCompleteType about multi-dimensional arrays. Fixes <rdar://problem/11284902>. ``` --------------------------------------------------------------------- llvm-svn: 156677
-
Bill Wendling authored
```--------------------------------------------------------------------- r155788 | rsmith | 2012-04-29 00:31:09 -0700 (Sun, 29 Apr 2012) | 4 lines PR12688: ParseCXXClassMemberDeclaration's sometimes-null ThisDecl takes another victim. Don't crash if we have a delay-parsed exception specification for a class member which is invalid in a way which precludes building a FunctionDecl. ``` --------------------------------------------------------------------- llvm-svn: 156676
-
Bill Wendling authored
```--------------------------------------------------------------------- r155823 | dgregor | 2012-04-30 09:20:27 -0700 (Mon, 30 Apr 2012) | 4 lines Restore paren, bracket and brace counts in parser when TentativeParsingAction is reverted, from Pasi Parviainen! Fixes PR12480 / <rdar://problem/11341251>. ``` --------------------------------------------------------------------- llvm-svn: 156675
-
Bill Wendling authored
```--------------------------------------------------------------------- r155910 | chapuni | 2012-05-01 03:51:55 -0700 (Tue, 01 May 2012) | 1 line clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Remove XFAIL and add -U__declspec. mingw32 tends to define built-in __declspec. ``` --------------------------------------------------------------------- llvm-svn: 156674
-
Bill Wendling authored
```--------------------------------------------------------------------- r156047 | rjmccall | 2012-05-02 18:34:46 -0700 (Wed, 02 May 2012) | 4 lines Merge x86-64-abi-sret-vs-2word-struct-param.cpp into the generic x86_64-arguments.cpp test file and be sure to test the coerced case as well. Thanks to Wei-Ren Chen for bringing this test to my attention. ``` --------------------------------------------------------------------- llvm-svn: 156673
-
Bill Wendling authored
```--------------------------------------------------------------------- r155975 | rsmith | 2012-05-01 18:29:43 -0700 (Tue, 01 May 2012) | 4 lines Disable our non-standard delayed parsing of exception specifications. Delaying the parsing of such things appears to be a conforming extension, but it breaks libstdc++4.7's std::pair. ``` --------------------------------------------------------------------- llvm-svn: 156672
-
Bill Wendling authored
```--------------------------------------------------------------------- r155860 | dgregor | 2012-04-30 16:42:57 -0700 (Mon, 30 Apr 2012) | 2 lines Add support for openSUSE 12.2, from Ismail Donmez! ``` --------------------------------------------------------------------- llvm-svn: 156670
-
- 11 May, 2012 2 commits
-
-
Bill Wendling authored
llvm-svn: 156641
-
Bill Wendling authored
llvm-svn: 156640
-
- 09 May, 2012 1 commit
-
-
Bill Wendling authored
llvm-svn: 156470
-
- 08 May, 2012 2 commits
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155803 | rsmith | 2012-04-29 17:16:51 -0700 (Sun, 29 Apr 2012) | 8 lines PR11926 + duplicates: Fix crash in -Wuninitialized when using a compiler like g++4.7, which reuses stack space allocated for temporaries. CFGElement::getAs returns a suitably-cast version of 'this'. Patch by Markus Trippelsdorf! No test: this code has the same observable behavior as the old code when built with most compilers, and the tests were already failing when built with a compiler for which this produced a broken binary. ``` --------------------------------------------------------------------- llvm-svn: 156394
-
Bill Wendling authored
URL: http://llvm.org/viewvc/llvm-project?rev=155749&view=rev Log: Reapply 155668: Fix the SD scheduler to avoid gluing the same node twice. This time, also fix the caller of AddGlue to properly handle incomplete chains. AddGlue had failure modes, but shamefully hid them from its caller. It's luck ran out. Fixes rdar://11314175: BuildSchedUnits assert. llvm-svn: 156376
-
- 02 May, 2012 1 commit
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155984 | void | 2012-05-02 02:59:45 -0700 (Wed, 02 May 2012) | 4 lines The value held in the vector may be RAUW'ed by some of the canonicalization methods. Use a weak value handle to keep up with this. PR12245 ``` --------------------------------------------------------------------- llvm-svn: 155985
-
- 01 May, 2012 4 commits
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155954 | void | 2012-05-01 15:50:45 -0700 (Tue, 01 May 2012) | 3 lines Strip the pointer casts off of allocas so that the selection DAG can find them. PR10799 ``` --------------------------------------------------------------------- llvm-svn: 155955
-
Bill Wendling authored
```--------------------------------------------------------------------- r155278 | chapuni | 2012-04-21 02:39:58 -0700 (Sat, 21 Apr 2012) | 3 lines clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Mark as XFAIL:mingw for now, due to predefined __declspec. It could be tweaked to add -triple i686-win32, though. ``` --------------------------------------------------------------------- llvm-svn: 155934
-
Bill Wendling authored
```--------------------------------------------------------------------- r155902 | void | 2012-05-01 01:27:43 -0700 (Tue, 01 May 2012) | 7 lines Change the PassManager from a reference to a pointer. The TargetPassManager's default constructor wants to initialize the PassManager to 'null'. But it's illegal to bind a null reference to a null l-value. Make the ivar a pointer instead. PR12468 ``` --------------------------------------------------------------------- llvm-svn: 155903
-
Bill Wendling authored
```--------------------------------------------------------------------- r155895 | eliben | 2012-04-30 23:15:40 -0700 (Mon, 30 Apr 2012) | 4 lines Removed examples of stack frame inspection which no longer work for old JIT. Added an example of MCJIT-based debugging. ``` --------------------------------------------------------------------- llvm-svn: 155901
-
- 30 Apr, 2012 7 commits
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155844 | spop | 2012-04-30 13:06:58 -0700 (Mon, 30 Apr 2012) | 8 lines fix typo Thanks to "Gabor Greif" <ggreif@gmail.com> for reporting this problem. The configure flag should be --with-default-sysroot as documented, and not --with-sysroot. The reason we don't want to define --with-sysroot is that GCC has a configure flag by that name and it has a different semantics. ``` --------------------------------------------------------------------- llvm-svn: 155852
-
Bill Wendling authored
llvm-svn: 155834
-
Bill Wendling authored
```--------------------------------------------------------------------- r155817 | void | 2012-04-30 03:44:54 -0700 (Mon, 30 Apr 2012) | 9 lines Second attempt at PR12573: Allow the "SplitCriticalEdge" function to split the edge to a landing pad. If the pass is *sure* that it thinks it knows what it's doing, then it may go ahead and specify that the landing pad can have its critical edge split. The loop unswitch pass is one of these passes. It will split the critical edges of all edges coming from a loop to a landing pad not within the loop. Doing so will retain important loop analysis information, such as loop simplify. ``` --------------------------------------------------------------------- llvm-svn: 155833
-
Bill Wendling authored
```--------------------------------------------------------------------- r155813 | void | 2012-04-30 02:23:48 -0700 (Mon, 30 Apr 2012) | 1 line Remove hack from r154987. The problem persists even with it, so it's not even a good hack. ``` --------------------------------------------------------------------- llvm-svn: 155831
-
Bill Wendling authored
```--------------------------------------------------------------------- r155166 | void | 2012-04-19 16:31:07 -0700 (Thu, 19 Apr 2012) | 1 line Put this expensive check below the less expensive ones. ``` --------------------------------------------------------------------- llvm-svn: 155830
-
Bill Wendling authored
```--------------------------------------------------------------------- r155809 | rafael | 2012-04-29 20:53:06 -0700 (Sun, 29 Apr 2012) | 2 lines Make sure HoistInsertPosition finds a position that is dominated by all inputs. ``` --------------------------------------------------------------------- llvm-svn: 155828
-
Bill Wendling authored
```--------------------------------------------------------------------- r155818 | baldrick | 2012-04-30 04:56:58 -0700 (Mon, 30 Apr 2012) | 3 lines Just mark the sign bit as known zero, rather than any other irrelevant bits known zero in the LHS. Fixes PR12541. ``` --------------------------------------------------------------------- llvm-svn: 155827
-
- 27 Apr, 2012 1 commit
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155728 | rsmith | 2012-04-27 12:33:05 -0700 (Fri, 27 Apr 2012) | 4 lines PR12224 (sort of): Diagnose inheriting constructor declarations in C++11 mode. We do not support IRGen for these, and get some parts of the semantic analysis wrong. ``` --------------------------------------------------------------------- llvm-svn: 155731
-
- 26 Apr, 2012 2 commits
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155668 | atrick | 2012-04-26 14:48:25 -0700 (Thu, 26 Apr 2012) | 8 lines Fix the SD scheduler to avoid gluing the same node twice. DAGCombine strangeness may result in multiple loads from the same offset. They both may try to glue themselves to another load. We could insist that the redundant loads glue themselves to each other, but the beter fix is to bail out from bad gluing at the time we detect it. Fixes rdar://11314175: BuildSchedUnits assert. ``` --------------------------------------------------------------------- llvm-svn: 155672
-
Bill Wendling authored
```--------------------------------------------------------------------- r155670 | efriedma | 2012-04-26 15:43:24 -0700 (Thu, 26 Apr 2012) | 3 lines Add a missing ExpressionEvaluationContext for template default arguments. Fixes PR12581. ``` --------------------------------------------------------------------- llvm-svn: 155671
-
- 25 Apr, 2012 3 commits
-
-
Bill Wendling authored
```--------------------------------------------------------------------- r155576 | akirtzidis | 2012-04-25 11:39:17 -0700 (Wed, 25 Apr 2012) | 4 lines When resolving default template arguments, it should be done in the declaration context of the template what we are going to instantiate. Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421. ``` --------------------------------------------------------------------- llvm-svn: 155582
-
Bill Wendling authored
```--------------------------------------------------------------------- r155536 | lattner | 2012-04-24 23:37:20 -0700 (Tue, 24 Apr 2012) | 3 lines openbsd doesn't support soname, patch by Brad Smith! ``` --------------------------------------------------------------------- llvm-svn: 155574
-
Bill Wendling authored
```--------------------------------------------------------------------- r155535 | lattner | 2012-04-24 23:12:24 -0700 (Tue, 24 Apr 2012) | 5 lines OpenBSD: Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. Patch by Brad Smith! ``` --------------------------------------------------------------------- llvm-svn: 155573
-