- Nov 07, 2016
-
-
Brian Gesiak authored
Summary: Update the docs to match the changes in http://reviews.llvm.org/D7132 Reviewers: beanz, llvm-commits, modocache Differential Revision: https://reviews.llvm.org/D26296 llvm-svn: 286094
-
Vedant Kumar authored
We shouldn't access past the end of an array, even if we think that the layout of the struct containing the array is always what we expect. The compiler is free to optimize away the stores as undefined behavior, and in fact, GCC 6.2.1 claims it will do exactly this. llvm-svn: 286093
-
Craig Topper authored
[AVX-512] Remove masked pmovzx/pmovsx builtins and autoupgrade them to selects and native zext/sext. This mostly reuses earlier autoupgrade support for the sse and avx equivalents. Just needed to add the code to add the select. llvm-svn: 286092
-
Craig Topper authored
[X86] Remove GCCBuiltins from cvtsi2ss/cvtsi2sd/cvtss2sd intrinsics as they aren't used by clang. Add TODOs to remove these and some other unused intrinsics. llvm-svn: 286091
-
Craig Topper authored
llvm-svn: 286090
-
Craig Topper authored
[AVX-512] Remove 128/256 masked pshufb intrinsics. Autoupgrade them to legacy intrinsics and a select. llvm-svn: 286089
-
Zachary Turner authored
I will probably submit a lot of small trivial changes like this over the coming weeks. The end goal is to convert Options::SetOptionValue to take the option arg as a StringRef, but doing so in one pass would be a huge mess of disparate changes just to satisfy the compiler, and with a high risk of breaking. So I'm going to do this in small pieces, changing seemingly random things here and there until the final change to the signature of Options::SetOptionValue() can be done trivially. llvm-svn: 286088
-
Daniel Jasper authored
Also delete a comment I forgot to delete. llvm-svn: 286087
-
Daniel Jasper authored
llvm-svn: 286086
-
Daniel Jasper authored
llvm-svn: 286085
-
Krzysztof Parzyszek authored
Cmake has not recognized that Hexagon.td has a new dependency in HexagonPatterns.td. All changes to that file were not visible to the build bots. llvm-svn: 286084
-
Davide Italiano authored
llvm-svn: 286083
-
Saleem Abdulrasool authored
This handles the last case of the builtin function calls that we would generate code which differed from Microsoft's ABI. Rather than generating a call to `__pow{d,s}i2` we now promote the parameter to a float or double and invoke `powf` or `pow` instead. Addresses PR30825! llvm-svn: 286082 -
Krzysztof Parzyszek authored
llvm-svn: 286081
-
Krzysztof Parzyszek authored
The clr/set/toggle-bit instructions (with the bit index given as an immediate operand) had both, custom selection code that generated them, and selection patterns at the same time. The selection patterns were not used, because the custom selection code was executed first. This patch removes the custom code in favor of the selection patterns. The custom code handled 64-bit registers as well with an immediate bit index, and so new patterns were added to implement that. It was also the same case for the instruction "Rd += asr(Rs, Rt)", except that the custom code did not offer any additional functionality, and was simply removed. llvm-svn: 286080
-
Krzysztof Parzyszek authored
Remove unnecessary type casts in patterns. llvm-svn: 286079
-
Krzysztof Parzyszek authored
Give simpler or more meaningful names to pat frags and xforms. llvm-svn: 286078
-
Krzysztof Parzyszek authored
Remove unnecessary C++ functions for SDNode transforms. Move more pat frags to files where they are used. llvm-svn: 286077
-
Krzysztof Parzyszek authored
Add pat frags for any-, sign-, and zero-extensions. llvm-svn: 286076
-
Simon Pilgrim authored
llvm-svn: 286075
-
Simon Pilgrim authored
In preparation for demandedelts support llvm-svn: 286074
-
Craig Topper authored
[AVX-512] Remove intrinsics for 128/256-bit masked variable shift. Instead upgrade them to a select and the older AVX2 intrinsic. llvm-svn: 286073
-
Craig Topper authored
[AVX-512] Remove intrinsics for 128/256-bit masked shift by immediate. Instead upgrade them to a select and the older SSE/AVX2 intrinsic. llvm-svn: 286072
-
Simon Pilgrim authored
llvm-svn: 286071
-
Craig Topper authored
[AVX-512] Remove intrinsics for 128/256-bit masked shift by single element in xmm. Instead upgrade them to a select and the older SSE/AVX2 intrinsic. llvm-svn: 286070
-
Craig Topper authored
[AVX-512] Remove a 512-bit test cases from the avx512vl test file. It already exists in the avx512f test file. llvm-svn: 286069
-
Simon Pilgrim authored
In preparation for demandedelts support llvm-svn: 286068
-
- Nov 06, 2016
-
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286067
-
Benjamin Kramer authored
No functional change intended. llvm-svn: 286066
-
George Rimar authored
This fixes casting warning and removes the need of that cast at all. llvm-svn: 286065
-
George Rimar authored
llvm-svn: 286064
-
Craig Topper authored
[X86] Add a few more fptoui test cases to the vec_fp_to_int.ll. The codegen for these test cases will be improved for AVX512 in a future commit. llvm-svn: 286063
-
Amaury Sechet authored
Summary: This kill various depreacated API related to attribute : - The deprecated C API attribute based on LLVMAttribute enum. - The Raw attribute set format (planned to be removed in 4.0). Reviewers: bkramer, echristo, mehdi_amini, void Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D23039 llvm-svn: 286062
-
George Rimar authored
Patch switches computing of --build-id hash to tree. This is the way when input data is splitted by chunks, hash is computed for each one in threaded/non-threaded way. At the end hash is conputed for result tree. With or without -threads the result hash is the same. Differential revision: https://reviews.llvm.org/D26199 llvm-svn: 286061
-
Tim Shen authored
Summary: Fixes PR30869. In D25977 I meant to change all functions that care about lifetime. I changed constructors, factory functions, but I missed member/free functions that return new instances. This patch changes them. Reviewers: hfinkel, kbarton, echristo, joerg Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D26269 llvm-svn: 286060
-
Craig Topper authored
llvm-svn: 286059
-
Craig Topper authored
[AVX-512] Add avx512vl command line to the fpext test and add -show-mc-encoding to show where we aren't using EVEX instructions. llvm-svn: 286058
-
Craig Topper authored
[AVX-512] Lower AVX cvtpd2ps intrinsic to ISD::FP_ROUND so it can use EVEX instruction when available. llvm-svn: 286057
-
Craig Topper authored
[AVX-512] Lower SSE/AVX cvtdq2ps intrinsics directly to ISD::SINT_TO_FP so they can use EVEX instructions when available. llvm-svn: 286056
-
Craig Topper authored
[AVX-512] Add -show-mc-encoding to legacy vector intrinsic tests so we can see when VEX or EVEX encoded instructions are being emitted. Make sure the tests all have an avx2 command line and an skx command line. llvm-svn: 286055
-