rikhuijzer wrote: I've added `Fixes #76281` to the first message so that this PR is linked to https://github.com/llvm/llvm-project/issues/76281. Once this PR is merged, https://github.com/llvm/llvm-project/issues/76281 will automatically be closed. https://github.com/llvm/llvm-project/pull/76351