- Dec 15, 2010
-
-
Caroline Tice authored
llvm-svn: 121884
-
Douglas Gregor authored
parameter packs within a statement, type, etc. Use this visitor to provide improved diagnostics for the presence of unexpanded parameter packs in a full expression, base type, declaration type, etc., by highlighting the unexpanded parameter packs and providing their names, e.g., test/CXX/temp/temp.decls/temp.variadic/p5.cpp:28:85: error: declaration type contains unexpanded parameter packs 'VeryInnerTypes', 'OuterTypes', ... ...VeryInnerTypes, OuterTypes>, pair<InnerTypes, OuterTypes> > types; ~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ^ llvm-svn: 121883
-
Wesley Peck authored
Add some special purpose register definitions to the MBlaze backend and cleanup some old, unused floating point register definitions. llvm-svn: 121882
-
Owen Anderson authored
llvm-svn: 121880
-
Caroline Tice authored
Add test cases to test various aspect of the 'alias' command. llvm-svn: 121879
-
Jim Grosbach authored
llvm-svn: 121878
-
Nick Lewycky authored
* mergeIn now uses constant folding for constants that are provably not-equal. * sink some sanity checks from the get*() methods into the mark*() methods, to ensure that we never have a constant/notconstant ConstantInt * some textual cleanups, whitespace changes, removing "else" after return, that sort of thing. llvm-svn: 121877
-
Jim Grosbach authored
rdar://8768390 llvm-svn: 121876
-
Owen Anderson authored
llvm-svn: 121875
-
Dan Gohman authored
llvm-svn: 121874
-
Argyrios Kyrtzidis authored
Diagnostic pragmas are broken because we don't keep track of the diagnostic state changes and we only check the current/latest state. Problems manifest if a diagnostic is emitted for a source line that has different diagnostic state than the current state; this can affect a lot of places, like C++ inline methods, template instantiations, the lexer, etc. Fix the issue by having the Diagnostic object keep track of the source location of the pragmas so that it is able to know what is the diagnostic state at any given source location. Fixes rdar://8365684. llvm-svn: 121873
-
Jakob Stoklund Olesen authored
llvm-svn: 121872
-
Jakob Stoklund Olesen authored
Bypass loops have the current live range live through, but contain no uses or defs. Splitting around a bypass loop can free registers for other uses inside the loop by spilling the split range. llvm-svn: 121871
-
Jakob Stoklund Olesen authored
This method returns the set of loops with uses that are candidates for splitting. llvm-svn: 121870
-
Douglas Gregor authored
Move the work-in-progress implementation of variadic templates to its own file in Sema. No functionality change. llvm-svn: 121869
-
Bob Wilson authored
This is still a WIP. It's already good enough to expose a few bugs, though. llvm-svn: 121868
-
Bob Wilson authored
Some quad-register intrinsics with lane operands only take a double-register operand for the vector containing the lane. The valid range of lane numbers is then half as big as you would expect from the quad-register type. Note: This currently has no effect because those intrinsics are now handled entirely in the header file using __builtin_shufflevector, which does its own range checking, but I want to use this for generating tests. llvm-svn: 121867
-
John McCall authored
come first. llvm-svn: 121866
-
Douglas Gregor authored
parameters. Fixes <rdar://problem/8769025>. llvm-svn: 121864
-
Peter Collingbourne authored
BuildExpressionFromIntegralTemplateArgument can produce malformed IntegerLiterals with an EnumType if the template parameter type is an EnumType. This breaks the AST printer which expects all IntegerLiterals to have a plain integer type. Instead, give the IntegerLiteral the enum's promotion type and wrap in an implicit cast to the EnumType. llvm-svn: 121862
-
Duncan Sands authored
instcombine and into InstructionSimplify. llvm-svn: 121861
-
Duncan Sands authored
it to be replaced by undef rather than not replaced at all, the idea being that this may reduce the amount of work done by whoever called InstructionSimplify. llvm-svn: 121860
-
Frits van Bommel authored
Teach jump threading to "look through" a select when the branch direction of a terminator depends on it. When it sees a promising select it now tries to figure out whether the condition of the select is known in any of the predecessors and if so it maps the operands appropriately. llvm-svn: 121859
-
Bill Wendling authored
llvm-svn: 121858
-
Rafael Espindola authored
With this we don't need the EffectiveSize field anymore. Without that field LayoutFragment only updates offsets and we don't need to invalidate the current fragment when it is relaxed (only the ones following it). This is also a very small improvement in the accuracy of the layout info as we now use the after relaxation size immediately. llvm-svn: 121857
-
Rafael Espindola authored
Since we now don't update addresses so early, we might relax a bit more than we need to. This is simillar to the issue in PR8467. llvm-svn: 121856
-
Chandler Carruth authored
Silence GCC warning about control reaching the end of the function and explicitly mark that all cases are handled. llvm-svn: 121855
-
Chris Lattner authored
llvm-svn: 121854
-
Chris Lattner authored
llvm-svn: 121853
-
Nico Weber authored
llvm-svn: 121852
-
Rafael Espindola authored
llvm-svn: 121851
-
Chris Lattner authored
llvm-svn: 121850
-
Chris Lattner authored
llvm-svn: 121849
-
Chris Lattner authored
a wider mul if the wider mul is legal. llvm-svn: 121848
-
Chris Lattner authored
llvm-svn: 121847
-
Chris Lattner authored
result, the top bits are truncated off anyway, just use SRL. llvm-svn: 121846
-
Greg Clayton authored
function and also hooked up better error reporting for when things fail. Fixed issues with trying to display children of pointers when none are supposed to be shown (no children for function pointers, and more like this). This was causing child value objects to be made that were correctly firing an assertion. llvm-svn: 121841
-
Chris Lattner authored
llvm-svn: 121838
-
Chris Lattner authored
llvm-svn: 121837
-
John McCall authored
future task of performing contextual conversion to size_t in a VLA size expression. :) llvm-svn: 121836
-