We need the fix from https://github.com/llvm/llvm-project/pull/79970 on `release/18.x` as well.