llvm-project/polly/lib
Michael Kruse a6716d9d81 [ScopBuilder] scalar-indep: Fix mutually referencing PHIs.
Two or more PHIs mutually using each other directly or indirectly as
incoming value could cause that a PHI WRITE be added before the PHI READ
(i.e. it overwrites the current incoming value with the next incoming
value before it being read).

Fix by ensuring that the PHI WRITE and PHI READ are in the same statement.

This should fix the miscompile of SingleSource/Benchmark/Misc/whetstone
from the test-suite.

llvm-svn: 324934
2018-02-12 21:09:40 +00:00
..
Analysis [ScopBuilder] scalar-indep: Fix mutually referencing PHIs. 2018-02-12 21:09:40 +00:00
CodeGen [CodeGen] Fix noalias annotations for memcpy/memmove. 2017-12-22 17:44:53 +00:00
Exchange Port ScopInfo to the isl cpp bindings 2017-11-19 22:13:34 +00:00
External [CMake] Use only keyword-version of target_link_library. NFC. 2018-01-12 16:09:18 +00:00
Support [VirtualInst] Derive correct use kind of PHI operands. NFC. 2018-01-23 23:56:25 +00:00
Transform Run clang-format after r324003. NFC. 2018-02-02 18:11:58 +00:00
CMakeLists.txt [CMake] Use only keyword-version of target_link_library. NFC. 2018-01-12 16:09:18 +00:00
Polly.cpp Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00