Go to file
Simon Pilgrim df39b03f29 [X86][SSE] Improve combineLogicBlendIntoPBLENDV to use general masks.
Currently combineLogicBlendIntoPBLENDV can only match ASHR to detect sign splatting of a bit mask, this patch generalises this to use computeNumSignBits instead.

This is a first step in several things we can do to improve PBLENDV support:

 * Better matching of X86ISD::ANDNP patterns.
 * Handle floating point cases.
 * Better vector and bitcast support in computeNumSignBits.
 * Recognise that PBLENDV only uses the sign bit of the mask, we should be able strip away sign splats (ASHR, PCMPGT isNeg tests etc.).

Differential Revision: https://reviews.llvm.org/D32953

llvm-svn: 302424
2017-05-08 14:16:39 +00:00
clang Correct the attribute spelling for guarded_var and pt_guarded_var. 2017-05-08 12:39:17 +00:00
clang-tools-extra [clang-tidy] Use cxxStdInitializerListExpr in modernize-use-emplace 2017-05-05 23:00:37 +00:00
compiler-rt [XRay][compiler-rt] XFAIL on ppc 2017-05-08 00:38:13 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix Windows tests when __config_site is present. 2017-05-08 13:15:22 +00:00
libcxxabi [libcxxabi][CMake] Set library dir when built under runtimes/ 2017-05-04 06:04:49 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld [ELF] - Set DF_STATIC_TLS flag for i386 target. 2017-05-08 10:24:38 +00:00
lldb Be a little more permissive in DynamicLoaderMacOS::CanLoadImage 2017-05-06 01:15:47 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [X86][SSE] Improve combineLogicBlendIntoPBLENDV to use general masks. 2017-05-08 14:16:39 +00:00
openmp [OpenMP] libomptarget: test correction for use with OpenMP 4.5 2017-04-27 18:54:00 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly][GPUJIT] Fixed OpenCL 2.0 min requirement for Error codes 2017-05-08 14:10:37 +00:00