> Date: Sun, 19 Nov 2023 17:47:56 -0700 > From: Jeff Law <j...@ventanamicro.com>
> Locally we have had this enabled at -O1 and above to encourage testing, > but I'm thinking that for the trunk enabling at -O2 and above is the > right thing to do. Yes. > Thoughts, comments, recommendations? Sounds great! It'd be nice if its framework can be re-used for target-specific passes, doing quirky sign- or zero-extend- related optimizations (those that are not just sign- or zero-extend removal). Perhaps most of those opportunities can be implemented as target hooks in this pass. Definitely not asking for a change, just imagining future improvements. Also, I haven't followed the thread and its branches, just offering a word encouragement. brgds, H-P