https://github.com/banach-space approved this pull request. I am not familiar with this code, but the change is quite straightforward and a clear improvement. Thanks, LGTM! https://github.com/llvm/llvm-project/pull/140730