tree-optimization/101280 - re-revise interchange fix for PR101173
authorRichard Biener <rguenther@suse.de>
Fri, 2 Jul 2021 06:51:43 +0000 (08:51 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 2 Jul 2021 06:54:32 +0000 (08:54 +0200)
commitc4804ff24401733e3b470a49b8a6c9306e6cfcfa
tree23b9d74235addf11175503c327c2d25775e61033
parent1aeefa5720a71e622e2f26bf10ec8e7ecbd76f4c
tree-optimization/101280 - re-revise interchange fix for PR101173

The following fixes up the revision of the original fix for PR101173
to properly guard all dependence checks with DDR_REVERSED_P or its
inverse.

2021-07-01  Richard Biener  <rguenther@suse.de>

PR tree-optimization/101280
PR tree-optimization/101173
* gimple-loop-interchange.cc
(tree_loop_interchange::valid_data_dependences): Properly
guard all dependence checks with DDR_REVERSED_P or its
inverse.
gcc/gimple-loop-interchange.cc