search for: isprofitableincrement

Displaying 2 results from an estimated 2 matches for "isprofitableincrement".

2017 Apr 11
2
LSR
...specific pass? > > When you say "an extra address register" would this imply LSR adding > an additional PHI? > > -Hal > Yes, that would have worked well at least in this type of loop. Can LSR do this? I experimented with adding a check for 12 bit offsets distance in isProfitableIncrement() (checking against all members of the chain), which resulted in several chains being produced by LSR, instead of just one. The chains that now formed now had immediate offsets that were close to each other, so that they should result in addresses with 12 bit offsets. But, to my disappointment,...
2017 Apr 10
2
LSR
Hi, I find that LSR is not helping enough on avoiding unfoldable offsets for SystemZ. When the loop has three stores with unfoldable offsets, LSR rewrites the IV in a good way. However, if adding another store with a foldable offset that fits already, LSR fails to rewrite the three stores. And if I happen to add a too big *positive* offset (the first three were negative) instead of a