skatrak wrote: The first commit in this PR is #115475, since this change would otherwise trigger a bug in the translation of loop wrappers and a compiler crash. If this patch is accepted, that one will be merged first. https://github.com/llvm/llvm-project/pull/127217