- Mar 19, 2014
-
-
David Blaikie authored
This isn't a complete fix - it falls back to non-comp_dir when multiple compile units are in play. Adding a map of comp_dir to table is part of the more general solution, but I gave up (in the short term) when I realized I'd also have to calculate the size of each type unit so as to produce correct DW_AT_stmt_list attributes. llvm-svn: 204202
-
Eli Bendersky authored
The "noduplicate" function attribute exists to prevent certain optimizations from duplicating calls to the function. This is important on platforms where certain function call duplications are unsafe (for example execution barriers for CUDA and OpenCL). This patch makes it possible to specify intrinsics as "noduplicate" and translates that to the appropriate function attribute. llvm-svn: 204200
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D3103 llvm-svn: 204199
-
NAKAMURA Takumi authored
llvm-svn: 204198
-
- Mar 18, 2014
-
-
Jim Grosbach authored
llvm-svn: 204197
-
Richard Smith authored
llvm-svn: 204196
-
Duncan P. N. Exon Smith authored
The use_iterator redesign in r203364 introduced an increment past the end of a range in -objc-arc-contract. Added an explicit check for the end of the range. <rdar://problem/16333235> llvm-svn: 204195
-
Jim Grosbach authored
llvm-svn: 204194
-
Joerg Sonnenberger authored
negative shift amounts and/or shifts wider than the type. VAX traps on the former, X86 and other platforms produce incorrect results on the latter. llvm-svn: 204193
-
Jim Grosbach authored
No functional change. llvm-svn: 204192
-
Jim Grosbach authored
When deployment target version information is available, emit it to the target streamer for inclusion in the object file. rdar://11337778 llvm-svn: 204191
-
Jim Grosbach authored
Allow object files to be tagged with a version-min load command for iOS or MacOSX. Teach macho-dump to understand the version-min load commands for testcases. rdar://11337778 llvm-svn: 204190
-
Jim Grosbach authored
llvm-svn: 204189
-
Chandler Carruth authored
for this kind of walk. llvm-svn: 204188
-
Chandler Carruth authored
noise. Original commit log: Replace some dead code with an assert. When I first ported this pass from a loop pass to a function pass I did so in the naive, recursive way. It doesn't actually work, we need a worklist instead. When I switched to the worklist I didn't delete the naive recursion. That recursion was also buggy because it was dead and never really exercised. llvm-svn: 204187
-
Justin Bogner authored
The hash itself is still the number of counters, which isn't all that useful, but this separates the API changes from the actual implementation of the hash and will make it easier to transition to the ProfileData library once it's implemented. llvm-svn: 204186
-
Justin Bogner authored
llvm-svn: 204185
-
Chandler Carruth authored
pass from a loop pass to a function pass I did so in the naive, recursive way. It doesn't actually work, we need a worklist instead. When I switched to the worklist I didn't delete the naive recursion. That recursion was also buggy because it was dead and never really exercised. llvm-svn: 204184
-
Eric Christopher authored
llvm-svn: 204183
-
Joerg Sonnenberger authored
llvm-svn: 204182
-
Richard Smith authored
llvm-svn: 204181
-
Eric Christopher authored
We really do use these things in the header. llvm-svn: 204180
-
Joerg Sonnenberger authored
llvm-svn: 204179
-
Rafael Espindola authored
This reverts commit r204137. This includes a fix for handling aliases of aliases. llvm-svn: 204178
-
Eric Christopher authored
llvm-svn: 204177
-
Eric Christopher authored
llvm-svn: 204176
-
Richard Smith authored
In the presence of modules, we can have multiple implicit instantiations of the same template. Teach RecursiveASTVisitor to visit all of those, not just one of them. This is difficult to test by itself, but will be covered by an upcoming change. llvm-svn: 204175
-
Hans Wennborg authored
For functions where esi is used as base pointer, we would previously fall back from lowering memcpy with "rep movs" because that clobbers esi. With this patch, we just store esi in another physical register, and restore it afterwards. This adds a little bit of register preassure, but the more efficient memcpy should be worth it. Differential Revision: http://llvm-reviews.chandlerc.com/D2968 llvm-svn: 204174
-
Sergey Matveev authored
If the user requests OS default stack size, do not adjust it to our minimum stack size (which is usually much less than the OS default). llvm-svn: 204173
-
Rui Ueyama authored
COMDAT_SELECT_LARGEST is a COMDAT type that make linker to choose the largest definition from among all of the definition of a symbol. If the size is the same, the choice is arbitrary. Differential Revision: http://llvm-reviews.chandlerc.com/D3011 llvm-svn: 204172
-
Rui Ueyama authored
llvm-svn: 204171
-
Ed Maste authored
This reverts part of r204112 (Expression: cleanup unused include). It looks like MCJIT.h is required to force MCJIT to be linked. llvm-svn: 204170
-
Tobias Grosser authored
llvm-svn: 204169
-
Tobias Grosser authored
llvm.org/PR19081 reports that the polly dependence analysis causes some h264 compilation to hang. We adjust the compute out, to ensure we do not block on expensive dependence calculations. llvm-svn: 204168
-
Tobias Grosser authored
This fixes llvm.org/PR12250. Contributed-by:
Sam Novak <snovak@uwsp.edu> llvm-svn: 204167
-
Michael Zolotukhin authored
llvm-svn: 204166
-
Tobias Grosser authored
llvm-svn: 204165
-
Yunzhong Gao authored
Since "half" is an OpenCL keyword and clang accepts __fp16 as an extension for other languages, error messages and metadata (and hence debug info) should refer to the half-precision floating point as "__fp16" instead of "half" when compiling for non-OpenCL languages. This patch creates a new printing policy for half in a similar manner to what is done for bool and wchar_t. Differential Revision: http://llvm-reviews.chandlerc.com/D2952 llvm-svn: 204164
-
Raul E. Silvera authored
Summary: SLP Vectorization of intrinsics (r203707) has exposed cases where the expansion of vector bswap is failing (PR19151). Reviewers: hfinkel CC: chandlerc Differential Revision: http://llvm-reviews.chandlerc.com/D3104 llvm-svn: 204163
-
Adrian Prantl authored
Follow-up to r203982. llvm-svn: 204162
-