mikaelholmen wrote: I have no idea if this is the way to solve the problem, but I've verified that this patch fixes the problem I saw in https://reviews.llvm.org/D151848#4654329 Thanks! https://github.com/llvm/llvm-project/pull/69511