Please backport https://github.com/llvm/llvm-project/pull/124850 to the 20.x release. /cherry-pick bac62ee