Phylogenomic analyses reveal an exceptionally high number of evolutionary shifts in a florally diverse clade of African legumes.