- Feb 24, 2014
-
-
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
-
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
-
- Feb 23, 2014
-
-
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
-
Alp Toker authored
The DiagnosticBuilder's lifetime in parser typo recovery was overlapping with the subsequent consume which can itself emit PP diagnostics. Patch by Olivier Goffart! llvm-svn: 201965
-
Saleem Abdulrasool authored
Now that the integrated assembler is considered a first class feature of the compiler and has a proper feature flag, document the change in the compiler flags. Ensure that we indicate that the legacy flags are still available, but, encourage users to switch to the feature flags. llvm-svn: 201964
-
Saleem Abdulrasool authored
The integrated assembler is a feature. This makes the new flags the default option, and the previous versions aliases. Ideally, at some point the aliases would be entirely removed. llvm-svn: 201963
-
Bob Wilson authored
In r199283 I switched the name of this variable to CCC_OVERRIDE_OPTIONS, but I kept some code to continue recognizing the old name temporarily. As far as I know, the only use of this was for some internal testing at Apple, and we've now switched to use the new name. If anyone else is still using this and needs more time to switch names, I guess we'll find out! <rdar://problem/15821425> llvm-svn: 201962
-
Saleem Abdulrasool authored
Forward the -no-integrated-as option to -cc1 rather than simply invoking the appropriate tool. This is useful since this option has been overloaded to permit disabling of parsing inline assembly at the MC layer. This re-applies the previous version of the patch with a renaming of the driver option to the public name rather than the internal name (-target vs -triple). The actual failure is fixed separately of an overly aggressive negative pattern match in the MIPS driver tests. It also fixes the incorrect test for targets that have the integrated assembler disabled by default. llvm-svn: 201960
-
Saleem Abdulrasool authored
The tests attempt to validate the invocation of the assembler program with the integrated assembler disabled. However, the match pattern for the negative tests are lax and will match both the driver invocation as well as the assembler invocation. Make the tests more strict by ensuring that we only match the assembler invocation. llvm-svn: 201959
-
Saleem Abdulrasool authored
This seems to break a MIPS test. Revert until I figure out the root cause. llvm-svn: 201954
-