- May 28, 2009
-
-
Evan Cheng authored
llvm-svn: 72534
-
Evan Cheng authored
llvm-svn: 72533
-
Daniel Dunbar authored
sending data to the server. - Otherwise if the server connection fails the external script never runs. Also, create content before initiating connection to try and decrease time we are connected to llvm.org. llvm-svn: 72532
-
Sanjiv Gupta authored
llvm-svn: 72531
-
Bill Wendling authored
failure during llvm-gcc bootstrap: Assertion failed: (!Tmp2.getNode() && "Can't legalize BR_CC with legal condition!"), function ExpandNode, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 2923. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/gcc/libgcc2.c:1727: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. llvm-svn: 72530
-
Sanjiv Gupta authored
llvm-svn: 72529
-
Douglas Gregor authored
llvm-svn: 72528
-
Daniel Dunbar authored
clang -> clang-cc to be less confusing. llvm-svn: 72527
-
Douglas Gregor authored
given DeclContext is dependent on type parameters. Use this to properly determine whether a TagDecl is dependent; previously, we were missing the case where the TagDecl is a local class of a member function of a class template (phew!). Also, make sure that, when we instantiate declarations within a member function of a class template (or a function template, eventually), that we add those declarations to the "instantiated locals" map so that they can be found when instantiating declaration references. Unfortunately, I was not able to write a useful test for this change, although the assert() that fires when uncommenting the FIXME'd line in test/SemaTemplate/instantiate-declref.cpp tells the "experienced user" that we're now doing the right thing. llvm-svn: 72526
-
Sanjiv Gupta authored
llvm-svn: 72521
-
Chris Lattner authored
llvm-svn: 72520
-
Chris Lattner authored
diagnostic to include the full instantiation location for the invalid paste. For: #define foo(a, b) a ## b #define bar(x) foo(x, ]) bar(a) bar(zdy) Instead of: t.c:3:22: error: pasting formed 'a]', an invalid preprocessing token #define foo(a, b) a ## b ^ t.c:3:22: error: pasting formed 'zdy]', an invalid preprocessing token we now produce: t.c:7:1: error: pasting formed 'a]', an invalid preprocessing token bar(a) ^ t.c:4:16: note: instantiated from: #define bar(x) foo(x, ]) ^ t.c:3:22: note: instantiated from: #define foo(a, b) a ## b ^ t.c:8:1: error: pasting formed 'zdy]', an invalid preprocessing token bar(zdy) ^ t.c:4:16: note: instantiated from: #define bar(x) foo(x, ]) ^ t.c:3:22: note: instantiated from: #define foo(a, b) a ## b ^ llvm-svn: 72519
-
Eli Friedman authored
llvm-svn: 72517
-
Eli Friedman authored
llvm-svn: 72516
-
Eli Friedman authored
This is basically the end of this series of patches for LegalizeDAG; the remaining special cases can't be removed without more infrastructure work. There's a FIXME for each relevant opcode near the beginning of SelectionDAGLegalize::LegalizeOp. llvm-svn: 72514
-
Eli Friedman authored
is actually legal. Part of LegalizeDAG cleanups. llvm-svn: 72513
-
Nick Lewycky authored
empty SmallVector. llvm-svn: 72512
-
Eli Friedman authored
some special cases are necessary. llvm-svn: 72511
-
Jeffrey Yasskin authored
list in Attributes.h. It also reorders the CPPBackend list to match so that it's easier to see that it's complete. llvm-svn: 72510
-
Eli Friedman authored
llvm-svn: 72509
-
Bill Wendling authored
the Intel manual (screenshot) says it should be 0b11110110 (f6). The existing encoding causes a disassembly conflict with MMX_PAVGBrm, which really should be 0f e0." Patch by Sean Callanan! llvm-svn: 72508
-
Evan Cheng authored
Added optimization that narrow load / op / store and the 'op' is a bit twiddling instruction and its second operand is an immediate. If bits that are touched by 'op' can be done with a narrower instruction, reduce the width of the load and store as well. This happens a lot with bitfield manipulation code. e.g. orl $65536, 8(%rax) => orb $1, 10(%rax) Since narrowing is not always a win, e.g. i32 -> i16 is a loss on x86, dag combiner consults with the target before performing the optimization. llvm-svn: 72507
-
Mike Stump authored
llvm-svn: 72506
-
Daniel Dunbar authored
llvm-svn: 72504
-
Douglas Gregor authored
llvm-svn: 72503
-
Douglas Gregor authored
parser. Rather than placing all of the delayed member function declarations and inline definitions into a single bucket corresponding to the top-level class, we instead mirror the nesting structure of the nested classes and place the delayed member functions into their appropriate place. Then, when we actually parse the delayed member function declarations, set up the scope stack the same way as it was when we originally saw the declaration, so that we can find, e.g., template parameters that are in scope. llvm-svn: 72502
-
Eli Friedman authored
section. llvm-svn: 72501
-
Eli Friedman authored
reflect that. llvm-svn: 72500
-
Eli Friedman authored
behavior is more likely to be confusing than useful. llvm-svn: 72499
-
Sebastian Redl authored
Reintroduce the home for exception specs, and make Sema fill it. However, keep the spec out of the canonical type this time. Net effect is currently nothing, because the spec isn't checked anywhere. llvm-svn: 72498
-
Eli Friedman authored
llvm-svn: 72497
-
- May 27, 2009
-
-
Dan Gohman authored
rewrite the comparison if there is any implicit extension or truncation on the induction variable. I'm planning for IVUsers to eventually take over some of the work of this code, and for it to be generalized. llvm-svn: 72496
-
Eli Friedman authored
llvm-svn: 72494
-
Dan Gohman authored
a smaller type, promoted its offset back up to the type of the new comparison. This fixes PR4222. llvm-svn: 72493
-
Fariborz Jahanian authored
llvm-svn: 72492
-
Fariborz Jahanian authored
llvm-svn: 72491
-
Sebastian Redl authored
Add a big test case for I-C-Es in C++, and a fix to make it work. The fix might not be the right way to do it. llvm-svn: 72490
-
Sebastian Redl authored
llvm-svn: 72489
-
Evan Cheng authored
llvm-svn: 72488
-
Douglas Gregor authored
declaration references. The key realization is that dependent Decls, which actually require instantiation, can only refer to the current instantiation or members thereof. And, since the current context during instantiation contains all of those members of the current instantiation, we can simply find the real instantiate that matches up with the "current instantiation" template. llvm-svn: 72486
-