alexander-shaposhnikov wrote: @fhahn - this is indeed not a very frequent case, but the optimization kicked in a few times when i was testing it internally, so I don't have a strong opinion. https://github.com/llvm/llvm-project/pull/73189