On Wed, May 21, 2025 at 11:48:08AM GMT, Jakub Jelinek wrote: > In gimple-lower-bitint.cc I'd strongly prefer to differentiate between > changes required to get info->extended working correctly (that is what > should be committed first, and right now should include the LSHIFT_EXPR in > lower_shift_stmt) from just optimizations where you want to avoid some > extensions that might not be strictly necessary and where those > optimizations can cause further needs to extend at some other places.
Ok. I will rebase the LoongArch support patch (and possibly other changes that falls into the optimization category) on your new changes and post a v2.