https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117922
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > One issue in fold-mem-offsets is that it seems to do per-BB operation but > relies on global DF and looks at uses/defs also not within a BB? If it's > supposed to be "global" then a better order than FOR_ALL_BB_FN might improve > things. It also seems to do the same work multiple times: for each "root" in a given BB, it goes up to its def in the BB and then goes down to all the uses of this def, but I presume that this could be done only once per def?