Go to file
Michael Kruse bc88a78cb4 [Simplify] Rewrite redundant write detection algorithm.
The previous algorithm was to search a writes and the sours of its value
operand, and see whether the write just stores the same read value back,
which includes a search whether there is another write access between
them. This is O(n^2) in the max number of accesses in a statement
(+ the complexity of isl comparing the access functions).

The new algorithm is more similar to the one used for searching for
overwrites and coalescable writes. It scans over all accesses in order
of execution while tracking which array elements still have the same
value since it was read. This is O(n), not counting the complexity
within isl. It should be more reliable than trying to catch all
non-conforming cases in the previous approach. It is also less code.

We now also support if the write is a partial write of the read's
domain, and to some extent non-affine subregions.

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

llvm-svn: 309734
2017-08-01 20:01:34 +00:00
clang Revert "Thread Safety Analysis: fix assert_capability." 2017-08-01 19:53:31 +00:00
clang-tools-extra [clangd] Fix more MSVC compilation failures. 2017-08-01 18:27:58 +00:00
compiler-rt Revert rL309634 until upstream buildbots have upgraded libc. 2017-08-01 17:16:05 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc add __kernel_exec macros 2017-07-28 03:39:03 +00:00
libcxx Mark LWG 2942 as complete 2017-07-30 22:28:08 +00:00
libcxxabi [demangler] Fix another bug found by oss-fuzz in r309340 2017-08-01 02:38:41 +00:00
libunwind Partial fix for PR33858 2017-07-26 18:13:57 +00:00
lld [ELF] - Use multithreading for building .gdb_index. 2017-08-01 14:57:13 +00:00
lldb xfail test_get_process_info pending bot fixes 2017-08-01 17:43:54 +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 AMDGPU: Add test for r308774 2017-08-01 19:54:58 +00:00
openmp Fix comments and build messages concerning TSX 2017-07-28 19:05:17 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Simplify] Rewrite redundant write detection algorithm. 2017-08-01 20:01:34 +00:00