hanchenye-llvm-project/polly/test/Isl
Michael Kruse 271deb17b0 [CodeGen] Fix noalias annotations for memcpy/memmove.
Memory transfer instructions take two pointers. It is not defined to
which of those a noalias annotation applies. To ensure correctness,
do not add noalias annotations to memcpy/memmove instructions anymore.

The caused a miscompile with test-suite's MultiSource/Applications/obsequi.
Since r321138, the MemCpyOpt pass would remove memcpy/memmove calls if
known to copy uninitialized memory. In that case, it was initialized
by another memcpy, but the annotation for the target pointer said
it would not alias. The annotation was actually meant for the source
pointer, which was was an alloca and could not alias with the target
pointer.

llvm-svn: 321371
2017-12-22 17:44:53 +00:00
..
Ast [IslAst] Do not assert in case of empty min/max alias locations 2017-09-03 19:47:19 +00:00
CodeGen [CodeGen] Fix noalias annotations for memcpy/memmove. 2017-12-22 17:44:53 +00:00
single_loop_param_less_equal.ll [IslAst] Untangle IslAst lit-testcases from specifics of the legacy-PM 2017-07-25 15:07:42 +00:00
single_loop_param_less_than.ll
single_loop_uint_max_iterations.ll
single_loop_ull_max_iterations.ll