On Aug 9, 2017, at 5:50 AM, Richard Earnshaw (lists) <richard.earns...@arm.com> wrote: > > On 09/08/17 12:37, Wilco Dijkstra wrote: >> Richard Earnshaw wrote: >>> Except that I think this would be better done as an 'effective target' >>> test; something like >>> >>> dg-require-effective-target autoincdec >> >> Right I figured out how to do this - not trivial as it needs a secret flag >> in the >> glob call - if anyone knows a better way of doing this I'd like to know! >> >> >> Add check_effective_target_autoincdec that returns true if a target >> runs the auto_inc_dec optimization pass. >> >> OK for commit? >> > > LGTM. Please give Mike 24 hours to respond, before committing.
Ok. I'm happy for things like this to just go in on port or front-end review alone. It's a pretty standard sort of change, dare say, kinda trivial.