https://github.com/kazutakahirata approved this pull request. LGTM. Your commit message "std::variant has no DenseMapInfo" probably needs updating. We do have `DenseMapInfoVariant.h`. Thanks! https://github.com/llvm/llvm-project/pull/221394