- Jun 06, 2014
-
-
Aaron Ballman authored
llvm-svn: 210333
-
Evgeniy Stepanov authored
Bots did not like it. llvm-svn: 210332
-
Evgeniy Stepanov authored
llvm-svn: 210331
-
Aaron Ballman authored
Patch thanks to Tyler Nowicki! llvm-svn: 210330
-
Dmitry Vyukov authored
llvm-svn: 210329
-
Alp Toker authored
llvm-svn: 210328
-
Pekka Jaaskelainen authored
llvm-svn: 210327
-
Alp Toker authored
A leftover -S was generating unwanted output in the source tree overriding -only flags that normally disable output. This reverts commit r210323 and implements the proper fix. Reported by Timur Iskhodzhanov! llvm-svn: 210326
-
Timur Iskhodzhanov authored
llvm-svn: 210325
-
Timur Iskhodzhanov authored
llvm-svn: 210324
-
Timur Iskhodzhanov authored
llvm-svn: 210323
-
Evgeniy Stepanov authored
Don't fail if __libc_malloc_dispatch is missing; continue running with normal linux interceptors instead. llvm-svn: 210322
-
Alp Toker authored
Gutted that this is needed, folks who care about keeping the legacy build system alive should sort this out already. llvm-svn: 210321
-
Alp Toker authored
We probably just need to touch LLVM's configure this time to work around the totally inadequate Makefile build server integration. This reverts commit r210314. llvm-svn: 210320
-
Iain Sandoe authored
r210177 added lld Makefiles, r210245 added automatic build when the source is present. This revision completes the set by adding the lld test and unittests to the check-all target. llvm-svn: 210318
-
Timur Iskhodzhanov authored
llvm-svn: 210317
-
Simon Atanasyan authored
llvm-svn: 210316
-
Kostya Serebryany authored
[asan] initialize fake_stack_ to 0 before we call SetThreadStackAndTls, because that may actually try to use fake_stack_ (still don't know how). Yet another case where we desperately want https://sourceware.org/glibc/wiki/ThreadPropertiesAPI llvm-svn: 210315
-
Alp Toker authored
This didn't work out on the build servers. Investigating This reverts commit r210313. llvm-svn: 210314
-
Alp Toker authored
This will unbreak clang vendor builds as a follow-up to r210238, now that we can't poke into LLVM's private config.h (nor should the string be exposed by llvm-config.h). This hopefully removes for good the last include of LLVM's config.h. llvm-svn: 210313
-
Dinesh Dwivedi authored
This patch can identify ABS(X) ==> (X >s 0) ? X : -X and (X >s -1) ? X : -X ABS(X) ==> (X <s 0) ? -X : X and (X <s 1) ? -X : X NABS(X) ==> (X >s 0) ? -X : X and (X >s -1) ? -X : X NABS(X) ==> (X <s 0) ? X : -X and (X <s 1) ? X : -X and can transform ABS(ABS(X)) -> ABS(X) NABS(NABS(X)) -> NABS(X) Differential Revision: http://reviews.llvm.org/D3658 llvm-svn: 210312
-
Alp Toker authored
The option check was being performed after config.h/llvm-config.h substitution, generating incorrect macro definitions. Fixes PR19614. llvm-svn: 210311
-
Karthik Bhat authored
If we have common uses on separate paths in the tree; process the one with greater common depth first. This makes sure that we do not assume we need to extract a load when it is actually going to be part of a vectorized tree. Review: http://reviews.llvm.org/D3800 llvm-svn: 210310
-
Alp Toker authored
clang's own CMake setup handles this as of r210308. The CMAKE_CROSSCOMPILING special-case will no longer be hard-coded. This was clearly site-specific to someone's local configuration and should be passed in at configure time if needed with e.g. -DLIBXML2_LIBRARIES=... (the libxml2 target I tried here doesn't even support liblzma so it's *way* off). llvm-svn: 210309
-
Alp Toker authored
This is clang's business and LLVM will soon be updated not to perform the check for us. llvm-svn: 210308
-
Alp Toker authored
These had no business in LLVM core. llvm-svn: 210307
-
Nikola Smiljanic authored
llvm-svn: 210306
-
Alexey Bataev authored
llvm-svn: 210305
-
Nikola Smiljanic authored
PR11306 - Variadic template fix-it suggestion. Recover from misplaced or redundant ellipsis in parameter pack. llvm-svn: 210304
-
Rafael Espindola authored
llvm-svn: 210303
-
Rafael Espindola authored
Alias with unnamed_addr were in a strange state. It is stored in GlobalValue, the language reference talks about "unnamed_addr aliases" but the verifier was rejecting them. It seems natural to allow unnamed_addr in aliases: * It is a property of how it is accessed, not of the data itself. * It is perfectly possible to write code that depends on the address of an alias. This patch then makes unname_addr legal for aliases. One side effect is that the syntax changes for a corner case: In globals, unnamed_addr is now printed before the address space. llvm-svn: 210302
-
Alexey Samsonov authored
llvm-svn: 210301
-
Alexey Samsonov authored
llvm-svn: 210300
-
Alexey Samsonov authored
llvm-svn: 210299
-
Rafael Espindola authored
We extended the .section syntax to allow multiple sections with the same name but different comdats, but currently we don't make sure that the output section has that comdat symbol. That happens to work with the code llc produces currently because it looks like .section secName, "dr", one_only, "COMDATSym" .globl COMDATSym COMDATSym: .... but that is not very friendly to anyone coding in assembly or even to llc once we get comdat support in the IR. This patch changes the coff object writer to make sure the comdat symbol is output just after the section symbol, as required by the coff spec. llvm-svn: 210298
-
Bill Schmidt authored
Chandler correctly pointed out that I need an LLVM IR test for r210282, which modified the vperm -> shuffle transform for little endian PowerPC. This patch provides that test. llvm-svn: 210297
-
Richard Smith authored
llvm-svn: 210296
-
Alp Toker authored
Let's just go ahead and assume the answer was 'I do' llvm-svn: 210295
-
Alp Toker authored
Instead of disembodied diagnostics when debug info is disabled it's now possible to identify the associated function's location in order to provide some amount of of context. We use the definition's body right brace location to differentiate the fallback from diagnostics that genuinely relate to the function declaration itself (a convention also used by gcc). llvm-svn: 210294
-
Alp Toker authored
Add driver and frontend support for the GCC -Wframe-larger-than=bytes warning. This is the first GCC-compatible backend diagnostic built around LLVM's reporting feature. This commit adds infrastructure to perform reverse lookup from mangled names emitted after LLVM IR generation. We use that to resolve precise locations and originating AST functions, lambdas or block declarations to produce seamless codegen-guided diagnostics. An associated change, StringMap now maintains unique mangled name strings instead of allocating copies. This is a net memory saving in C++ and a small hit for C where we no longer reuse IdentifierInfo storage, pending further optimisation. llvm-svn: 210293
-