- Apr 09, 2013
-
-
Adrian Prantl authored
llvm-svn: 179052
-
Rafael Espindola authored
llvm-svn: 179051
-
Bill Wendling authored
llvm-svn: 179050
-
Daniel Jasper authored
The idea is to indent according to operator precedence and pretty much identical to how stuff would be indented with parenthesis. Before: bool value = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa == aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > ccccccccccccccccccccccccccccccccccccccccc; After: bool value = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa == aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > ccccccccccccccccccccccccccccccccccccccccc; llvm-svn: 179049 -
Rafael Espindola authored
llvm-svn: 179048
-
Eli Bendersky authored
llvm-svn: 179047
-
DeLesley Hutchins authored
These checks are enabled with the -Wthread-safety-beta flag. llvm-svn: 179046
-
Eli Bendersky authored
llvm-svn: 179043
-
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
-