- Oct 27, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58245
-
Douglas Gregor authored
When destroying a translation unit, deallocate its owned declarations in reverse order, because there may be dependencies among the declarations. llvm-svn: 58244
-
Zhongxing Xu authored
llvm-svn: 58243
-
Steve Naroff authored
This simplifies debug of this particular diagnostic (and removes some code clutter). llvm-svn: 58242
-
rdar://problem/6315646Steve Naroff authored
Fix <rdar://problem/6315646> clang on xcode: error: invalid operands to binary expression ('id<NSTableViewDelegate>' and 'XCExtendedArrayController *'). There is still a bug here (as the FIXME in the test case indicates). Prior to this patch, the bug would generate an error. Now, we simply do nothing (which is less harmful until we can get it right). The complete bug fix will require changing ASTContext::mergeTypes(), which I'd like to defer for now. llvm-svn: 58241
-
Torok Edwin authored
If it is not part of a loop it is obviously invariant wrt to all loops. llvm-svn: 58240
-
Gabor Greif authored
llvm-svn: 58239
-
Torok Edwin authored
that need it to require it by ID. llvm-svn: 58238
-
Bill Wendling authored
llvm-svn: 58237
-
Zhongxing Xu authored
llvm-svn: 58236
-
Zhongxing Xu authored
llvm-svn: 58235
-
Zhongxing Xu authored
llvm-svn: 58234
-
Zhongxing Xu authored
Only loc::MemRegionVal can be modified. This avoids crashing in RegionStore when a function pointer is used as an argument. llvm-svn: 58233
-
Duncan Sands authored
codegen infrastructure, by default. Please report any breakage to the mailing lists. llvm-svn: 58232
-
Nick Lewycky authored
llvm-svn: 58231
-
Evan Cheng authored
For now, don't split live intervals around x87 stack register barriers. FpGET_ST0_80 must be right after a call instruction (and ADJCALLSTACKUP) so we need to find a way to prevent reload of x87 registers between them. llvm-svn: 58230
-
Chris Lattner authored
LargeBlockInfo, we can now dramatically simplify their implementation and speed them up at the same time. Now the code has time proportional to the number of uses of the alloca, not the size of the block. This also eliminates code that tried to batch up different allocas which are used in the same blocks, and eliminates the 'retry list' logic which was baroque and no unneccesary. In addition to being a speedup for crazy cases, this is also a nice cleanup: PromoteMemoryToRegister.cpp | 270 +++++++++++++++----------------------------- 1 file changed, 96 insertions(+), 174 deletions(-) llvm-svn: 58229
-
Chris Lattner authored
llvm-svn: 58228
-
Chris Lattner authored
a trivial dense map. Use this in RewriteSingleStoreAlloca to avoid aggressively rescanning blocks over and over again. This fixes PR2925, speeding up mem2reg on the testcase in that bug from 4.56s to 0.02s in a debug build on my machine. llvm-svn: 58227
-
Chris Lattner authored
llvm-svn: 58226
-
Dale Johannesen authored
150, based on llvm-test measurements. llvm-svn: 58225
-
Chris Lattner authored
llvm-svn: 58224
-
Chris Lattner authored
darwin or AIX abis. This fixes PR2904. llvm-svn: 58222
-
Nick Lewycky authored
Note that -check-exit-code was on by default while -append-exit-code is not. llvm-svn: 58221
-
Chris Lattner authored
t.c:1:13: error: cannot codegen this designators yet int a[10] = {2, 4, [8]=9, 10}; ^~~~~~~~~~~~~~~~~ llvm-svn: 58220
-
Chris Lattner authored
llvm-svn: 58218
-
Chris Lattner authored
support as far as I know. llvm-svn: 58217
-
Chris Lattner authored
objc mode. llvm-svn: 58216
-
Chris Lattner authored
struct foo Y[10] = { [4] .arr [2] 4 // expected-error {{expected '=' or another designator}} }; because the "missing equals" extension only is valid if there is exactly one array designator. llvm-svn: 58215
-
Chris Lattner authored
fix an obscure memory leak. llvm-svn: 58213
-
- Oct 26, 2008
-
-
Chris Lattner authored
improve diagnostic for a malformed field designator. llvm-svn: 58212
-
Chris Lattner authored
easier to understand and hack on, no functionality change. llvm-svn: 58210
-
Chris Lattner authored
about whether a leading identifier is a designator. llvm-svn: 58207
-
Chris Lattner authored
initializer, avoiding an extra level of calls for silly things like 'int x = 4'. llvm-svn: 58206
-
Chris Lattner authored
1. It introduces new parser level abstractions for designators that are used to communicate between parser and sema. 2. This fixes a FIXME where "identifier ':'" was considered to be a designator even if it wasn't the first in a designator list. 3. In the "identifier ':'" case, it actually builds the designator representation. llvm-svn: 58205
-
Chris Lattner authored
llvm-svn: 58203
-
Chris Lattner authored
Thanks to Török Edwin for the awesome reduced testcase. llvm-svn: 58199
-
Sebastian Redl authored
llvm-svn: 58198
-
Chris Lattner authored
llvm-svn: 58196
-
Argyrios Kyrtzidis authored
Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call. -Remove the default argument. -Update all call sites of ASTContext::getFunctionType. llvm-svn: 58187
-