- Nov 13, 2016
-
-
Zachary Turner authored
llvm-svn: 286740
-
Craig Topper authored
[InstCombine][AVX-512] Expand vector shift handling to work on the AVX-512 shift by immediate and shift by single value. This does not include support for the AVX-512 variable shifts. That will be coming in a future patch. llvm-svn: 286739
-
Craig Topper authored
llvm-svn: 286738
-
Sanjay Patel authored
These are vector tests corresponding to the discussion at: http://lists.llvm.org/pipermail/llvm-dev/2016-November/106868.html Apart from the lack of min/max matching, the and/andn difference shows a lack of DAG-level canonicalization. llvm-svn: 286737
-
Brad Smith authored
llvm-svn: 286736
-
Brad Smith authored
Patch by Stefan Kempf. llvm-svn: 286735
-
Simon Pilgrim authored
llvm-svn: 286734
-
Craig Topper authored
[AVX-512] Use scalar vfmsub/vfnmsub mask3 intrinsics instead of inverting the mask argument of a vfmadd intrinsic. Summary: Inverting the mask argument does not reflect the intended semantics of the intrinsic. Reviewers: igorb, delena Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26019 llvm-svn: 286733
-
Lang Hames authored
lambda in wrapHandler mutable to allow it to pass the handler through as a non-const value. llvm-svn: 286732
-
Zachary Turner authored
llvm-svn: 286731
-
Zachary Turner authored
llvm-svn: 286730
-
Saleem Abdulrasool authored
This should fix the Darwin buildbots. llvm-svn: 286729
-
Zachary Turner authored
llvm-svn: 286728
-
Saleem Abdulrasool authored
Until we have handling for ignoring unloaded sections, simplify the logic to the point of triviality. This fixes the scanning of archives, particularly when embedded in archives. llvm-svn: 286727
-
Zachary Turner authored
llvm-svn: 286726
-
Craig Topper authored
[AVX-512] Remove the remaining masked shift by immediate or by single value. Autoupgrade them to recently introduced unmasked versions and a select. After this I'll add the unmasked intrinsics to InstCombineCalls to finish making our handling of these types of shuffles consistent between AVX-512 and the legacy intrinsics. llvm-svn: 286725
-
Zachary Turner authored
Differential Revision: https://reviews.llvm.org/D25299 llvm-svn: 286724
-
Zachary Turner authored
llvm-svn: 286723
-
Zachary Turner authored
llvm-svn: 286722
-
- Nov 12, 2016
-
-
Serge Pavlov authored
If initializer contains parentheses around braced list where it is not allowed, as in construct int({0}), clang issued message like `functional-style cast from 'void' to 'int' is not allowed`, which does not help much. Both gcc and msvc issue message `list-initializer for non-class type must not be parenthesized`, which is more descriptive. This change implements similar message for clang. Differential Revision: https://reviews.llvm.org/D25816 llvm-svn: 286721 -
Michal Gorny authored
Clear cross-target test dependencies when using LLVM_OCAML_OUT_OF_TREE, in order to make it possible to run check-llvm-bindings-ocaml without rebuilding the whole LLVM. Differential Revision: https://reviews.llvm.org/D26580 llvm-svn: 286720
-
Sylvestre Ledru authored
llvm-svn: 286719
-
Sylvestre Ledru authored
llvm-svn: 286718
-
Sylvestre Ledru authored
llvm-svn: 286717
-
Sylvestre Ledru authored
llvm-svn: 286716
-
Daniel Jasper authored
This fixes llvm.org/PR28063. llvm-svn: 286715
-
Craig Topper authored
[AVX-512] Convert the rest of the masked shift by immediate and by single element builtins over to the newly added unmasked builtins and a select. This should also fix PR30691 since the new builtins are handled like the legacy builtins in the backend. llvm-svn: 286714
-
George Rimar authored
Previously we did not support anything except "local: *", patch changes that. Actually GNU rules of proccessing wildcards are more complex than that (http://www.airs.com/blog/archives/300): There are 2 iteration for wildcards, at first iteration "*" wildcards are ignored and handled at second iteration. Since we previously decided not to implement such complex rules, I suggest solution that is implemented in this patch. So for "local: *" case nothing changes, but if we have wildcarded locals, they are processed before wildcarded globals. This should fix several FreeBSD ports, one of them is jpeg-turbo-1.5.1 and currently blocks about 5k of ports. Differential revision: https://reviews.llvm.org/D26395 llvm-svn: 286713
-
George Rimar authored
llvm-svn: 286712
-
Craig Topper authored
Summary: This is the first step towards being able to add the avx512 shift by immediate intrinsics to InstCombineCalls where we aleady support the sse2 and avx2 intrinsics. We need to the unmasked versions so we can avoid having to teach InstCombineCalls that it would need to insert selects sometimes. Instead we'll just add the selects around the new instrinsics in the frontend. This change should also enable the shift by i32 intrinsics to take a non-constant shift value just like the avx2 and sse intrinsics. This will enable us to fix PR30691 once we update clang. Next I'll switch clang to use the new builtins. Then we'll come back to the backend and remove/autoupgrade the old intrinsics. Then I'll work on the same series for variable shifts. Reviewers: RKSimon, zvi, delena Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26333 llvm-svn: 286711
-
Craig Topper authored
llvm-svn: 286710
-
Craig Topper authored
Summary: VALIGND and VALIGNQ are similar to PALIGNR but instead of working on a 128-bit lane they work on the entire vector register. This change leverages the shuffle rotate detection code used for PALIGNR to detect these cases. Reviewers: delena, RKSimon Subscribers: Farhana, llvm-commits Differential Revision: https://reviews.llvm.org/D26297 llvm-svn: 286709
-
Vitaly Buka authored
Summary: In non-strict mode we will check memory access for both strings from beginning to either: 1. 0-char 2. size 3. different chars In strict mode we will check from beginning to either: 1. 0-char 2. size Previously in strict mode we always checked up to the 0-char. Reviewers: kcc, eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D26574 llvm-svn: 286708
-
Saleem Abdulrasool authored
Since we now have tests for llvm-strings, add a dependency on the tool. llvm-svn: 286707
-
Saleem Abdulrasool authored
We would ignore the last string that appeared if the file ended with a printable character. Ensure that we get the last string. llvm-svn: 286706
-
whitequark authored
llvm-svn: 286705
-
whitequark authored
llvm-svn: 286704
-
Kostya Serebryany authored
llvm-svn: 286703
-
Kostya Serebryany authored
llvm-svn: 286702
-
Lang Hames authored
return types. This class allows user provided handlers to return either error-wrapped types or plain types. In the latter case, the plain type is wrapped with a success value of Error or Expected<T> type to fit it into the rest of the serialization machinery. This patch allows us to remove the RPC unit-test workaround added in r286646. llvm-svn: 286701
-