- Jun 15, 2010
-
-
Bob Wilson authored
llvm-svn: 106015
-
Chris Lattner authored
Fix string concatenation to treat escapes in concatenated strings that are wide because of other string chunks to process the escapes as wide themselves. Before we would warn about and miscompile the attached testcase. This fixes rdar://8040728 - miscompile + warning: hex escape sequence out of range llvm-svn: 106012
-
Chris Lattner authored
llvm-svn: 106011
-
Daniel Dunbar authored
Currently, all AST consumers are located in the Frontend library, meaning that in a shared library configuration, Frontend has a dependency on Rewrite, Checker and CodeGen. This is suboptimal for clients which only wish to make use of the frontend. CodeGen in particular introduces a large number of unwanted dependencies. This patch breaks the dependency by moving all AST consumers with dependencies on Rewrite, Checker and/or CodeGen to their respective libraries. The patch therefore introduces dependencies in the other direction (i.e. from Rewrite, Checker and CodeGen to Frontend). After applying this patch, Clang builds correctly using CMake and shared libraries ("cmake -DBUILD_SHARED_LIBS=ON"). N.B. This patch includes file renames which are indicated in the patch body. Changes in this revision of the patch: - Fixed some copy-paste mistakes in the header files - Modified certain aspects of the coding to ...
-
Daniel Dunbar authored
llvm-svn: 106009
-
Douglas Gregor authored
ASTContext rather than via the normal heap. llvm-svn: 106008
-
Bob Wilson authored
combined to an insert_subreg, i.e., where the destination register is larger than the source. We need to check that the subregs can be composed for that case in a symmetrical way to the case when the destination is smaller. llvm-svn: 106004
-
-
Jakob Stoklund Olesen authored
Early clobbers defining a virtual register were first alocated to a physreg and then processed as a physreg EC, spilling the virtreg. This fixes PR7382. llvm-svn: 105998
-
Jakob Stoklund Olesen authored
Given a copy instruction, CoalescerPair can determine which registers to coalesce in order to eliminate the copy. It deals with all the subreg fun to determine a tuple (DstReg, SrcReg, SubIdx) such that: - SrcReg is a virtual register that will disappear after coalescing. - DstReg is a virtual or physical register whose live range will be extended. - SubIdx is 0 when DstReg is a physical register. - SrcReg can be joined with DstReg:SubIdx. CoalescerPair::isCoalescable() determines if another copy instruction is compatible with the same tuple. This fixes some NEON miscompilations where shuffles are getting coalesced as if they were copies. The CoalescerPair class will replace a lot of the spaghetti logic in JoinCopy later. llvm-svn: 105997
-
Daniel Dunbar authored
problem; patch by Ed Schouten. llvm-svn: 105996
-
Daniel Dunbar authored
llvm-svn: 105995
-
Daniel Dunbar authored
llvm-svn: 105994
-
Benjamin Kramer authored
llvm-svn: 105993
-
Nick Lewycky authored
Stmt* such as those which occur in ?: . Fixes PR7378. Also, generally whip the code into shape fixing several coding style violations. llvm-svn: 105992
-
Bob Wilson authored
replacing the overly conservative checks that I had introduced recently to deal with correctness issues. This makes a pretty noticable difference in our testcases where reg_sequences are used. I've updated one test to check that we no longer emit the unnecessary subreg moves. llvm-svn: 105991
-
Bob Wilson authored
llvm-svn: 105990
-
Dale Johannesen authored
llvm-svn: 105988
-
Ted Kremenek authored
llvm-svn: 105987
-
Dale Johannesen authored
containing the target address, an input, into an output. I don't think this actually broke anything on x86 (it does on ARM), but it's wrong. llvm-svn: 105986
-
Alexis Hunt authored
won't define it unless specifically requested via the use of __need_wint_t. llvm-svn: 105985
-
Ted Kremenek authored
llvm-svn: 105984
-
Jim Grosbach authored
the combined load/store instruction. rdar://7797940 llvm-svn: 105982
-
Chris Lattner authored
source code location instead of on the note. Previously we generated: <inline asm>:1:2: error: unrecognized instruction barf ^ t.c:4:8: note: generated from here asm ("barf"); ^ Now we generate: t.c:4:8: error: unrecognized instruction asm ("barf"); ^ <inline asm>:1:2: note: instantated into assembly here barf ^ llvm-svn: 105978
-
Douglas Gregor authored
handle visibility properly. Fixes <rdar://problem/8091955>. llvm-svn: 105977
-
Douglas Gregor authored
mangling for types, where the <source-name> is ASxxx (xxx is the address-space number). llvm-svn: 105975
-
Alexis Hunt authored
llvm-svn: 105971
-
Chris Lattner authored
llvm-svn: 105970
-
Bob Wilson authored
immediate" operands. These functions have so far only been used for VMOV but they also apply to other NEON instructions with modified immediate operands. No functional changes. llvm-svn: 105969
-
Douglas Gregor authored
non-dependent type or template name, respectively, in C++98/03. Fixes PR7111 and <rdar://problem/8002682>. llvm-svn: 105968
-
- Jun 14, 2010
-
-
Daniel Dunbar authored
llvm-svn: 105966
-
Jim Grosbach authored
Make sure to skip the dbg_value instructions when moving dups out of the diamond. rdar://7797940 llvm-svn: 105965
-
Daniel Dunbar authored
collect2 option that is passed by some projects (notably WebKit). llvm-svn: 105964
-
Daniel Dunbar authored
Also, fix a memory leak. llvm-svn: 105963
-
Rafael Espindola authored
llvm-svn: 105962
-
Douglas Gregor authored
initializations into their own warning group, initializer-overrides, which is part of -Wextra. Patch by william@25thandClement.com, fixes PR6934! llvm-svn: 105961
-
Evan Cheng authored
- Rename ExactHazardRecognizer to PostRAHazardRecognizer and move its header to include to allow targets to extend it. llvm-svn: 105959
-
Daniel Dunbar authored
llvm-svn: 105958
-
Daniel Dunbar authored
llvm-svn: 105957
-
Chris Lattner authored
llvm-svn: 105956
-