Go to file
Sanjay Patel e6b48a1b02 [InstCombine] improve demanded vector elements analysis of insertelement
Recurse instead of returning on the first found optimization. Also, return early in the caller
instead of continuing because that allows another round of simplification before we might
potentially lose undef information from a shuffle mask by eliminating the shuffle.

As noted in the review, we could probably do better and be more efficient by moving all of
demanded elements into a separate pass, but this is yet another quick fix to instcombine.

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

llvm-svn: 312248
2017-08-31 15:57:17 +00:00
clang Driver: extract ARCMT flag construction (NFC) 2017-08-31 15:35:01 +00:00
clang-tools-extra [cppcoreguidelines] Don't rely on SmallPtrSet iteration order. 2017-08-30 20:18:40 +00:00
compiler-rt Revert r312240 2017-08-31 15:51:23 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier 2017-08-16 17:09:00 +00:00
libcxx Fix test for C++03 2017-08-29 01:10:51 +00:00
libcxxabi Revert "[libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return" 2017-08-16 22:05:54 +00:00
libunwind Revert r312240 2017-08-31 15:51:23 +00:00
lld [ELF] - Removed unused dummy methods. NFC. 2017-08-31 11:05:38 +00:00
lldb Now a ppc64le binary is correctly detected: 2017-08-30 18:36:48 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [InstCombine] improve demanded vector elements analysis of insertelement 2017-08-31 15:57:17 +00:00
openmp Use va_copy instead of __va_copy to fix building libomp against musl libc 2017-08-19 23:53:36 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [PPCGCodeGen] Convert intrinsics to libdevice functions whenever possible. 2017-08-31 13:03:37 +00:00