fmayer wrote: Confirmed that this is due to the stack safety analysis, from [findMatchingAlloca](https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/StackLifetime.cpp#L64) checking for the correct lifetime size. https://github.com/llvm/llvm-project/pull/150459