https://github.com/CarolineConcatto approved this pull request. It looks good to me. But I think this patch gets blocked by the previous ones. Including the one that you add instcombine in the test. https://github.com/llvm/llvm-project/pull/119033