refactor reassocs get_rank
authorRichard Biener <rguenther@suse.de>
Thu, 19 Nov 2020 11:28:41 +0000 (12:28 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 19 Nov 2020 12:27:55 +0000 (13:27 +0100)
commitb08e0ee3018f2b5cbda7e6e54328f8e0b203e4be
tree8ae0963c1183a0f8be85d79d8bee2a43dd1ab975
parentd8cf89767492a41b0f76e0aa302dddee4e1b3434
refactor reassocs get_rank

This refactors things so assigned ranks are dumped and the cache
is consistently used also for PHIs.

2020-11-19  Richard Biener  <rguenther@suse.de>

* tree-ssa-reassoc.c (get_rank): Refactor to consistently
use the cache and dump ranks assigned.
gcc/tree-ssa-reassoc.c