- Sep 26, 2011
-
-
Peter Collingbourne authored
llvm-svn: 140502
-
Peter Collingbourne authored
llvm-svn: 140501
-
Peter Collingbourne authored
llvm-svn: 140500
-
Peter Collingbourne authored
llvm-svn: 140499
-
Peter Collingbourne authored
llvm-svn: 140498
-
Chandler Carruth authored
characters. I could find no newline character in a diagnostic message, and adding an assert to this code never fires in the testsuite. I think this code is essentially dead, and was previously used for a different purpose. If I just don't understand how it is we can end up with a newline here please let me know (with a test case?) and I'll revert. llvm-svn: 140497
-
Chandler Carruth authored
printing routines, clean up its doxyments and switch it to a camelCase name as well. No functionality changed here. llvm-svn: 140496
-
Chandler Carruth authored
style, and add doxyments. llvm-svn: 140495
-
Chandler Carruth authored
use the ostream interface and avoid lots of temporary strings. llvm-svn: 140494
-
David Blaikie authored
llvm-svn: 140493
-
David Blaikie authored
llvm-svn: 140492
-
Chandler Carruth authored
llvm-svn: 140491
-
Chandler Carruth authored
This needs to be cleaned up to better use the ostream object, WIP. llvm-svn: 140490
-
David Blaikie authored
llvm-svn: 140489
-
Chandler Carruth authored
I'm planning to switch a bunch of these over to use a raw_ostream instead of += on a string object. llvm-svn: 140488
-
Chandler Carruth authored
and completely broken at that. Sorry, must remember to stash rather than commit. =] llvm-svn: 140487
-
Chandler Carruth authored
llvm-svn: 140486
-
David Blaikie authored
llvm-svn: 140485
-
Chandler Carruth authored
llvm-svn: 140484
-
David Blaikie authored
llvm-svn: 140483
-
David Blaikie authored
llvm-svn: 140482
-
Chandler Carruth authored
function. llvm-svn: 140481
-
David Blaikie authored
llvm-svn: 140480
-
David Blaikie authored
llvm-svn: 140479
-
David Blaikie authored
llvm-svn: 140478
-
Chandler Carruth authored
hoisting parts of the text diagnostic. llvm-svn: 140477
-
Chandler Carruth authored
to handle non-caret diagnostics as well in order to be fully useful in libclang etc. Also sketch out some more of my plans on this refactoring. llvm-svn: 140476
-
Chandler Carruth authored
tracking the start and stop of macro expansion suppression. Also remove the Columns variable which was just a convenience variable based on DiagOpts. Instead we materialize it in the one piece of code that cared. llvm-svn: 140475
-
Chandler Carruth authored
TextDiagnosticPrinter into the CaretDiagnostic class. Several interesting results from this: - This removes a significant per-diagnostic bit of state from the CaretDiagnostic class, which should eventually allow us to re-use the object. - It removes a redundant recursive walk of the macro expansion stack just to compute the depth. We don't need the depth until we're unwinding anyways, so we can just mark when we reach it. - It also paves the way for several simplifications we can do to how we implement the suppression. llvm-svn: 140474
-
- Sep 25, 2011
-
-
Jakob Stoklund Olesen authored
Many targets use pseudo instructions to help register allocation. Like the COPY instruction, these pseudos can be expanded after register allocation. The early expansion can make life easier for PEI and the post-ra scheduler. This patch adds a hook that is called for all remaining pseudo instructions from the ExpandPostRAPseudos pass. llvm-svn: 140472
-
Nadav Rotem authored
SDNodes may return values which are wider than the incoming element types. In this patch we fix the integer promotion of these nodes. Fixes spill-q.ll when running -promote-elements. llvm-svn: 140471
-
Jakob Stoklund Olesen authored
No functional change intended. llvm-svn: 140470
-
Jakob Stoklund Olesen authored
I'll fix the file contents in the next commit. This pass is currently expanding the COPY and SUBREG_TO_REG pseudos. I am going to add a hook so targets can expand more pseudo-instructions after register allocation. Many targets have pseudo-instructions that assist the register allocator. They can be expanded after register allocation, before PEI and PostRA scheduling. llvm-svn: 140469
-
Chandler Carruth authored
emits a source snippet and caret line. llvm-svn: 140467
-
Benjamin Kramer authored
Also make sure we set the error flag when correcting a typo. llvm-svn: 140466
-
Benjamin Kramer authored
llvm-svn: 140465
-
- Sep 24, 2011
-
-
Nadav Rotem authored
Implement Duncan's suggestion to use the result of getSetCCResultType if it is legal (this is always the case for scalars), otherwise use the promoted result type. Fix test/CodeGen/X86/vsplit-and.ll when promote-elements is enabled. llvm-svn: 140464
-
Nadav Rotem authored
When generating the trunc-store of i1's, we need to use the vector type and not the scalar type. This patch fixes the assertion in CodeGen/Generic/bool-vector.ll when running with -promote-elements. llvm-svn: 140463
-
Benjamin Kramer authored
llvm-svn: 140462
-
Sebastian Redl authored
cannot be converted. This is in preparation for overload resolution of initializer lists. Currently, you will always get this message when you try to pass an init list to an overloaded function. llvm-svn: 140461
-