- Sep 27, 2016
-
-
Nemanja Ivanovic authored
This patch corresponds to review: https://reviews.llvm.org/D24397 It adds the __POWER9_VECTOR__ macro and the -mpower9-vector option along with a number of altivec.h functions (refer to the code review for a list). llvm-svn: 282481
-
Haojian Wu authored
Reviewers: bkramer Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D24719 llvm-svn: 282480
-
Dimitar Vlahovski authored
llvm-svn: 282479
-
Nemanja Ivanovic authored
This patch corresponds to review: https://reviews.llvm.org/D24396 This patch adds support for the "vector count trailing zeroes", "vector compare not equal" and "vector compare not equal or zero instructions" as well as "scalar count trailing zeroes" instructions. It also changes the vector negation to use XXLNOR (when VSX is enabled) so as not to increase register pressure (previously this was done with a splat immediate of all ones followed by an XXLXOR). This was done because the altivec.h builtins (patch to follow) use vector negation and the use of an additional register for the splat immediate is not optimal. llvm-svn: 282478
-
Haojian Wu authored
llvm-svn: 282477
-
Haojian Wu authored
llvm-svn: 282476
-
Michal Gorny authored
Strip the set of flags (including debug defs, -m32) that could be inherited from top-level LLVM build only when in-tree build is performed. This prevents libcxx from confusingly and undesiredly stripping user-supplied flags e.g. when performing packaging system controlled multi-ABI build. Otherwise, in order to perform 32-bit builds the build scripts would have to use LIBCXX_BUILD_32_BITS. However, -m32 is only one of the many different ABI flags for different targets, and it really makes no sense to add separate CMake options for each possible -m* flag and then keep a mapping from well-known flags to the custom CMake options. Differential Revision: https://reviews.llvm.org/D24809 llvm-svn: 282475
-
Haojian Wu authored
Reviewers: aaron.ballman Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D24928 llvm-svn: 282474
-
Craig Topper authored
llvm-svn: 282473
-
Craig Topper authored
llvm-svn: 282472
-
Craig Topper authored
[X86] Use std::max to calculate alignment instead of assuming RC->getSize() will not return a value greater than 32. I think it theoretically could be 64 for AVX-512. llvm-svn: 282471
-
Shoaib Meenai authored
`__declspec(dllexport)` and `__declspec(dllimport)` should only be used when building libc++abi as a DLL, but that's the more common use case, so default to adding the annotations and add an option to opt out. Similar to r282449, which made the corresponding change for libc++. Differential Revision: https://reviews.llvm.org/D24945 llvm-svn: 282470
-
Kostya Serebryany authored
llvm-svn: 282469
-
Eric Fiselier authored
llvm-svn: 282468
-
Kostya Serebryany authored
llvm-svn: 282467
-
Eric Fiselier authored
llvm-svn: 282466
-
Kostya Serebryany authored
llvm-svn: 282465
-
Richard Smith authored
llvm-svn: 282464
-
Richard Smith authored
llvm-svn: 282463
-
Ivan Krasin authored
Summary: We don't currently need this facility for CFI. Disabling individual hot methods proved to be a better strategy in Chrome. Also, the design of the feature is suboptimal, as pointed out by Peter Collingbourne. Reviewers: pcc Subscribers: kcc Differential Revision: https://reviews.llvm.org/D24948 llvm-svn: 282461
-
Kostya Serebryany authored
llvm-svn: 282460
-
Kostya Serebryany authored
[libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script for RE2 that uses this flag llvm-svn: 282458
-
Richard Smith authored
the pointer-to-member expression in calls through .* and ->* expressions. llvm-svn: 282457
-
Peter Collingbourne authored
llvm-svn: 282456
-
Peter Collingbourne authored
LowerTypeTests: Create LowerTypeTestsModule class and move implementation there. Related simplifications. llvm-svn: 282455
-
Rui Ueyama authored
So that it is clear that FileOutputBuffer does not depend on PDB file builder. Eventually we will have to to get the file size info from the file builder to create a file with the exact size. NFC. llvm-svn: 282454
-
Richard Smith authored
subscripting before the RHS, regardless of which is the base and which is the index. llvm-svn: 282453
-
Daniel Dunbar authored
- This is primarily useful as a "fail fast" mode for lit, where it will stop running tests after the first failure. - Patch by Max Moiseev. llvm-svn: 282452
-
Davide Italiano authored
PR: 30494 llvm-svn: 282451
-
Davide Italiano authored
llvm-svn: 282450
-
Eric Fiselier authored
builds. On Windows the __declspec(dllimport) and __declspec(dllexport) attributes require linking to a DLL, not a static library. Previously these annotations were disabled by default unless _LIBCPP_DLL was defined. However the DLL configuration is probably the more common one, so it should be supported by default. This patch enables import/export attributes by default and adds a _LIBCPP_DISABLE_DLL_IMPORT_EXPORT macro which can be used to disable this behavior. If libc++ is built as a static library on Windows then a custom __config header will be generated that predefines this macro. This patch is based off work by Shoaib Meenai. llvm-svn: 282449
-
Daniel Jasper authored
Fixes the following: BOOL (^aaa)(void) = ^BOOL { }; The first BOOL's token was getting set to TT_FunctionAnnotationRParen incorrectly, which was causing an unexpected newline after (^aaa). This was introduced in r245846. Patch by Kent Sutherland, thank you! llvm-svn: 282448 -
Saleem Abdulrasool authored
On ARM, there are multiple versions of each of the intrinsics, with acquire/relaxed/release barrier semantics. The newly added ones are provided as inline functions here instead of builtins, since they should only be available on certain archs (arm/aarch64). This is necessary in order to compile C++ code for ARM in MSVC mode. Patch by Martin Storsjö! llvm-svn: 282447
-
Oleg Ranevskyy authored
Summary: This patch fixes a couple of typos that cause compilation errors when application includes <unordered_map> and enables the libc++'s debugging capabilities. Reviewers: EricWF Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24883 llvm-svn: 282446
-
Enrico Granata authored
Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring Fixes rdar://28480275 llvm-svn: 282445
-
Rafael Espindola authored
This matches the gold behaviour and is important to prevent debug info from effectively disabling gc. llvm-svn: 282444
-
Richard Smith authored
llvm-svn: 282443
-
Derek Schuff authored
When we have dynamic allocas we have a frame pointer, and when we're lowering frame indexes we should make sure we use it. Patch by Jacob Gravelle Differential Revision: https://reviews.llvm.org/D24889 llvm-svn: 282442
-
Kevin Enderby authored
other load commands that use the Mach::linkedit_data_command type but not used in llvm libObject code but used in llvm tool code. This includes LC_FUNCTION_STARTS, LC_SEGMENT_SPLIT_INFO and LC_DYLIB_CODE_SIGN_DRS load commands. llvm-svn: 282441
-
Aditya Kumar authored
Reviewers: rafael spatel Differential Revision: https://reviews.llvm.org/D24843 llvm-svn: 282440
-