- Mar 18, 2013
-
-
Marshall Clow authored
llvm-svn: 177297
-
Hal Finkel authored
llvm-svn: 177296
-
Hal Finkel authored
This commit fixes an assert that would occur on loops with large constant counts (like looping for ((uint32_t) -1) iterations on PPC64). The existing code did not handle counts that it computed to be negative (asserting instead), but these can be created with valid inputs. This bug was discovered by bugpoint while I was attempting to isolate a completely different problem. Also, in writing test cases for the negative-count problem, I discovered that the ori/lsi handling was broken (there was a typo which caused the logic that was supposed to detect these pairs and extract the iteration count to always fail). This has now also been corrected (and is covered by one of the new test cases). llvm-svn: 177295
-
Hal Finkel authored
Because the initial-value constants had not been added to the list of instructions considered for DCE the resulting code had redundant constant-materialization instructions. llvm-svn: 177294
-
Rafael Espindola authored
llvm-svn: 177293
-
Dmitry Vyukov authored
llvm-svn: 177292
-
Marshall Clow authored
llvm-svn: 177291
-
Hans Wennborg authored
The always-true "(int)Int == (signed)Int" comparison was found while experimenting with a potential new Clang warning. llvm-svn: 177290
-
Dmitry Vyukov authored
greatly reduces memory consumption llvm-svn: 177289
-
Dmitry Vyukov authored
llvm-svn: 177288
-
Rafael Espindola authored
llvm-svn: 177287
-
Dmitry Vyukov authored
llvm-svn: 177286
-
Matthew Curtis authored
llvm-svn: 177284
-
Daniel Jasper authored
When annotating "lines" starting with ":", clang-format would segfault. This could actually happen in valid code, e.g. #define A : llvm-svn: 177283
-
Benjamin Kramer authored
llvm-svn: 177282
-
Benjamin Kramer authored
And enables SmallVector's pod optimizations. llvm-svn: 177281
-
David Tweed authored
llvm-svn: 177280
-
David Tweed authored
we weren't differntiating floating-point zeroinitializers from other zero-initializers) which was causing problems for code relying upon a + (+0.0f) to, eg, flush denormals to 0. Make the scalar and vector cases have the same behaviour. llvm-svn: 177279
-
Dmitry Vyukov authored
llvm-svn: 177278
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177277
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177276
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177275
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177274
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177273
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177272
-
Christian Konig authored
Unfortunately the previous fix for inserting waits for unordered defines wasn't sufficient, cause it's possible that even ordered defines are only partially used (or not used at all). Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177271
-
Kostya Serebryany authored
llvm-svn: 177270
-
Dmitry Vyukov authored
llvm-svn: 177269
-
Dmitry Vyukov authored
Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). llvm-svn: 177267
-
Alexey Samsonov authored
llvm-svn: 177265
-
Kostya Serebryany authored
[asan] when creating string constants, set unnamed_attr and align 1 so that equal strings are merged by the linker. Observed up to 1% binary size reduction. Thanks to Anton Korobeynikov for the suggestion llvm-svn: 177264
-
Evgeniy Stepanov authored
llvm-svn: 177263
-
Dmitry Vyukov authored
llvm-svn: 177262
-
Dmitry Vyukov authored
llvm-svn: 177261
-
Dmitry Vyukov authored
llvm-svn: 177260
-
Chandler Carruth authored
SmallVector and DenseMap. This speeds up SROA by 25% on PR15412. llvm-svn: 177259
-
Dmitry Vyukov authored
llvm-svn: 177258
-
Anton Korobeynikov authored
MinGW is almost completely compatible to MSVC, with the exception of the _tls_array global not being available. Patch by David Nadlinger! llvm-svn: 177257
-
Anton Korobeynikov authored
The linker sorts the .tls$<xyz> sections by name, and we need to make sure any extra sections we produce (e.g. for weak globals) always end up between .tls$AAA and .tls$ZZZ, even if the name starts with e.g. an underscore. Patch by David Nadlinger! llvm-svn: 177256
-
Dmitry Vyukov authored
llvm-svn: 177255
-