https://github.com/andrey-golubev commented: LGTM (I wonder how I didn't catch this when introducing a patch...). Could you add a test for this case so that the regression is covered? https://github.com/llvm/llvm-project/pull/146438