- Apr 09, 2013
-
-
Fariborz Jahanian authored
// rdar://12379114 llvm-svn: 179042
-
Howard Hinnant authored
Change <cwchar> and <cstring> to look out for flags which may or may not be set by the C headers <wchar.h> and <string.h> indicating C support for the C++-altered wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr, strchr, strpbrk, strrchr, memchr, and strstr. This was already done in <cstring> for other platforms using other flags, so just had to add one more flag to the list there. llvm-svn: 179041
-
Chris Lattner authored
In the comparison, both clang and GCC are popular and widely adopted. This is no longer a win of GCC. This whole doc should really be looked at. llvm-svn: 179040
-
Fariborz Jahanian authored
// rdar://12379114 llvm-svn: 179039
-
Matt Arsenault authored
First feature is not CPU subtype anymore since r134127 llvm-svn: 179038
-
rdar://problem/13540921Douglas Gregor authored
<rdar://problem/13540921> Cope with instantiations of the C++11 range-based for loop that end up being Objective-C fast enumeration loops. llvm-svn: 179037
-
Eli Bendersky authored
llvm-svn: 179036
-
rdar://problem/13540921Douglas Gregor authored
<rdar://problem/13540921> Cope with deduced 'auto' in a C++11 for-range loop that is actually an Objective-C fast enumeration loop. llvm-svn: 179035
-
Ted Kremenek authored
llvm-svn: 179034
-
Arnold Schwaighofer authored
The costs are overfitted so that I can still use the legalization factor. For example the following kernel has about half the throughput vectorized than unvectorized when compiled with SSE2. Before this patch we would vectorize it. unsigned short A[1024]; double B[1024]; void f() { int i; for (i = 0; i < 1024; ++i) { B[i] = (double) A[i]; } } radar://13599001 llvm-svn: 179033 -
Alexander Potapenko authored
Add a regression test for the case where such behavior helps TSan: 1. race is reported in the main module 2. new shared library is loaded 3. race is reported in the shared library llvm-svn: 179032
-
Chad Rosier authored
llvm-svn: 179031
-
Chad Rosier authored
rdar://13521249 llvm-svn: 179030
-
rdar://problem/12806802Douglas Gregor authored
<rdar://problem/12806802> Propagate access specifiers for conversion functions to the conversion function set eagerly. This slightly propagates an existing hack that delays when we provide access specifiers for the visible conversion functions of a class by copying the available access specifier early. The only client this affects is LLDB, which tends to discover and add conversion functions after the class is technically "complete". As such, the only observable difference is in LLDB, so the testing will go there. llvm-svn: 179029
-
Daniel Jasper authored
llvm-svn: 179027
-
Hal Finkel authored
PowerPC has a conditional branch to the link register (return) instruction: BCLR. This should be used any time when we'd otherwise have a conditional branch to a return. This adds a small pass, PPCEarlyReturn, which runs just prior to the branch selection pass (and, importantly, after block placement) to generate these conditional returns when possible. It will also eliminate unconditional branches to returns (these happen rarely; most of the time these have already been tail duplicated by the time PPCEarlyReturn is invoked). This is a nice optimization for small functions that do not maintain a stack frame. llvm-svn: 179026
-
- Apr 08, 2013
-
-
Alexey Samsonov authored
llvm-svn: 179023
-
Evgeniy Stepanov authored
llvm-svn: 179022
-
Rafael Espindola authored
llvm-svn: 179021
-
Vincent Lejeune authored
llvm-svn: 179020
-
Sebastian Pop authored
llvm-svn: 179019
-
Sebastian Pop authored
llvm-svn: 179018
-
Daniel Jasper authored
The styles are now documented with the -style option. This fixes llvm.org/PR15689. llvm-svn: 179017
-
Daniel Jasper authored
llvm-svn: 179016
-
Daniel Jasper authored
llvm-svn: 179015
-
Chandler Carruth authored
nested quoting schemes, and they're not important here... llvm-svn: 179014
-
Evgeniy Stepanov authored
llvm-svn: 179012
-
Chandler Carruth authored
llvm-svn: 179010
-
Chandler Carruth authored
llvm-svn: 179009
-
Evgeniy Stepanov authored
llvm-svn: 179008
-
Kostya Serebryany authored
llvm-svn: 179007
-
Tim Northover authored
llvm-svn: 179006
-
Tim Northover authored
I've managed to convince myself that AArch64's acquire/release instructions are sufficient to guarantee C++11's required semantics, even in the sequentially-consistent case. llvm-svn: 179005
-
Chandler Carruth authored
I couldn't touch this file and not clean it up some. These reformattings brought to you by clang-format, with some minor adjustments by me. More spring cleaning to follow here. llvm-svn: 179004
-
Chandler Carruth authored
internal linkage and so wasn't a patent bug, it doesn't make any sense here. We can avoid even calling operator<< by just embedding the newline in the string literals that were already being streamed out. It also gives the impression of some line-ending agnosticisms which is not present, and that flushing happens when it doesn't. If we want to use std::endl, we could do that, but honestly it doesn't seem remotely worth it. Using '\n' directly is much more clear when working with raw_ostream. It also happens to fix builds with old crufty GCC STL implementations that include std::endl into the global namespace (or headers written to be compatible with such atrocities). llvm-svn: 179003
-
Evgeniy Stepanov authored
llvm-svn: 179002
-
Benjamin Kramer authored
llvm-svn: 179001
-
Hal Finkel authored
First, we should not cheat: fsel-based lowering of select_cc is a finite-math-only optimization (the ISA manual, section F.3 of v2.06, makes this clear, as does a note in our own README). This also adds fsel-based lowering of EQ and NE condition codes. As it turned out, fsel generation was covered by a grand total of zero regression test cases. I've added some test cases to cover the existing behavior (which is now finite-math only), as well as the new EQ cases. llvm-svn: 179000
-
Arnold Schwaighofer authored
The code in getTypeConversion attempts to promote the element vector type before it trys to split or widen the vector. After it failed finding a legal vector type by promoting it would continue using the promoted vector element type. Thereby missing legal splitted vector types. For example the type v32i32 that has a legal split of 4 x v3i32 on x86/sse2 would be transformed to: v32i256 and from there on successively split to: v16i256, v8i256, v1i256 and then finally ends up as an i64 type. By resetting the vector element type to the original vector element type that existed before the promotion the code will attempt to split the vector type to smaller vector widths of the same type. llvm-svn: 178999
-
Rafael Espindola authored
llvm-svn: 178998
-