It does matter with regard to film speed. When I use my old Summitar lens I can easily shoot Tri-X using an exposure index of 400 - box speed. When I use a more modern lens, I have to lower my exposure index to something like 250 to get the same shadow detail. This is probably due to flare, but it does have an impact on the final contrast of the negative, and how it prints.
But once you know this, it's easy to compensate for it, and it's not really something to worry about anymore. It is just one variable of many that affect negative contrast.