- Feb 24, 2014
-
-
Kostya Serebryany authored
AdjustStackSizeLinux() is used in Lsan, Tsan and Msan non-Linux-specific code so it seems it should have more generic name and moved to a common scope. Renamed to AdjustStackSize. Patch by Viktor Kutuzov. llvm-svn: 202011
-
Tobias Grosser authored
In 'obsequi' we have a scop in which the current dead code elimination works, but the generated code is way too complex. To avoid this trouble (and to not disable the DCE entirely) we add an additional approximative step before the actual dead code elimination. This should fix one of the two current nightly-test issues. Polly could be improved to handle 'obsequi' by teaching it to introduce only a single parameter for (%1 and zext %1) which halves the number of parameters and allows polly to derive a simpler representation for the set of live iterations. However, this needs some time to investigate. I will commit a test case as soon as we have a reduced one. llvm-svn: 202010
-
Kostya Serebryany authored
llvm-svn: 202009
-
Dmitry Vyukov authored
error: address of array 'tctx->name' will always evaluate to 'true' llvm-svn: 202008
-
Alp Toker authored
Fix an unintentional stdin read in the darwin-asan-nofortify.c test and replace it with an explicit test for multiple -E inputs passed to the driver. Noticed while working on the in-process driver patch. llvm-svn: 202007
-
Alp Toker authored
llvm-svn: 202006
-
Rafael Espindola authored
The only extra bit of functionality that had to be exposed for this be be implemented in Path.cpp is opening a file in rw mode. llvm-svn: 202005
-
Kevin Qin authored
Most 64-bit targets define int64_t as long int, and AArch64 should make same definition to follow LP64 model. In GNU tool chain, int64_t is defined as long int for 64-bit target. So to get consistent with GNU, it's better Changing int64_t from 'long long int' to 'long int', otherwise clang will get different name mangling suffix compared with g++. llvm-svn: 202004
-
Richard Smith authored
llvm-svn: 202003
-
Bob Wilson authored
We still don't use the PGO to set branch weights for these loops, but at least this keeps the compiler from crashing. <rdar://problem/16137778> llvm-svn: 202002
-
Rafael Espindola authored
llvm-svn: 202001
-
Tobias Grosser authored
Add the 'polly.start' basic block to the loop that surrounds the scop we just codegenerate. This fixes PR13441 llvm-svn: 202000
-
Saleem Abdulrasool authored
The .error directive is similar to .err in that it will halt assembly if it is evaluated for assembly. However, it permits a user supplied message to be rendered. llvm-svn: 201999
-
Saleem Abdulrasool authored
The .ifeqs directive assembles the following code if the quoted string parameters are equal. The strings must be quoted using double quotes. llvm-svn: 201998
-
- Feb 23, 2014
-
-
Tobias Grosser authored
Sven suggested to use this simpler code generation strategy as the convex_hull computation is apparently rather inefficient. We do not have a test case that shows a difference, but, in case we find a test case where this makes a difference, we can reconsider our decission. llvm-svn: 201997
-
Benjamin Kramer authored
llvm-svn: 201994
-
Argyrios Kyrtzidis authored
- Only include offsets with local (in function scope) symbols, where we don't encode scoping - Only include the filename with non-system symbols. Presumably the system headers will not provide conflicting definitions. rdar://15976823 llvm-svn: 201990
-
Saleem Abdulrasool authored
llvm-svn: 201989
-
Saleem Abdulrasool authored
.align is handled specially on certain targets. .align without any parameters on ARM indicates a default alignment (4). Handle the special case in the target parser, but fall back to the generic parser for the normal version. llvm-svn: 201988
-
Aaron Ballman authored
Fixing the indentation of the RST content in the release notes. Fixes two warnings when building the HTML content and improves the format of the resulting content. llvm-svn: 201987
-
Saleem Abdulrasool authored
The .ifne directive assembles the following section of code if the argument expression is non-zero. Effectively, it is equivalent to if. llvm-svn: 201986
-
Saleem Abdulrasool authored
If the strings are not quoted, the first string stops at the first comma, and the second string stops at the end of the line. Strings which contain whitespace should be quoted. Unquoted space is to be discarded. llvm-svn: 201985
-
Saleem Abdulrasool authored
The .err directive produces an error whenever it is assembled. This can be useful for preventing assembly when an unexpected condition occurs. llvm-svn: 201984
-
Rafael Espindola authored
llvm-svn: 201983
-
Tobias Grosser authored
In case we do not have valid dependences, we do not run dead code elimination or the schedule optimizer. This fixes an infinite loop in the dead code elimination (PR12110). llvm-svn: 201982
-
Benjamin Kramer authored
No functionality change. llvm-svn: 201981
-
Elena Demikhovsky authored
llvm-svn: 201980
-
Rafael Espindola authored
Before this patch they would take an boolean argument to say if the path already existed. This was redundant with the returned error_code which is able to represent that. This allowed for callers to incorrectly check only the existed flag instead of first checking the error code. Instead, pass in a boolean flag to say if the previous (non-)existence should be an error or not. Callers of the of the old simple versions are not affected. They still ignore the previous (non-)existence as they did before. llvm-svn: 201979
-
NAKAMURA Takumi authored
llvm-svn: 201978
-
NAKAMURA Takumi authored
llvm-svn: 201977
-
Rafael Espindola authored
llvm-svn: 201975
-
Benjamin Kramer authored
No functionality change. llvm-svn: 201974
-
NAKAMURA Takumi authored
llvm-svn: 201973
-
NAKAMURA Takumi authored
llvm-svn: 201972
-
NAKAMURA Takumi authored
llvm-svn: 201971
-
Nico Rieck authored
llvm-svn: 201970
-
NAKAMURA Takumi authored
The LLVMSupport library implementation consolidates all dependencies on system libraries. Move the logic gathering system libraries out of 'cmake/modules/LLVM-Config.cmake' and into 'lib/Support/CMakeLists.txt'. Use the target_link_libraries() command there to tell CMake about the link dependencies of the LLVMSupport implementation. CMake will automatically propagate this to all targets that link LLVMSupport directly or indirectly. We still need to build knowledge of system library dependencies into 'llvm-config'. Store the list of libraries needed in a property on LLVMSupport and teach 'tools/llvm-config/CMakeLists.txt' to retrieve it from there. Drop all calls to 'link_system_libs' and 'get_system_libs' from our CMake code. Replace their implementations with a warning that explains the calls are no longer necessary. Also drop from 'LLVMConfig.cmake' the HAVE_* and related variables that were published there only to allow 'get_system_libs' to run outside our build process. Contributed by Brad King. llvm-svn: 201969
-
Saleem Abdulrasool authored
This adds support for the .short and its alias .hword for adding literal values into the object file. This is similar to the .word directive, however, rather than inserting a value of 4 bytes, adds a 2-byte value. llvm-svn: 201968
-
NAKAMURA Takumi authored
[CMake] add_lld_library: link_system_libs is not needed any more. LLVMSupport may provide dependencies to system libs. llvm-svn: 201967
-
Michael Gottesman authored
llvm-svn: 201966
-