Please change LLVM_MAX_SLOT to 12 and add sys-devel/llvm:12 to LLVM_DEPSTR . mesa-9999 emerge tested.
https://github.com/gentoo/gentoo/pull/20448 was closed without merge. New PR: https://github.com/gentoo/gentoo/pull/20495