The current behaviour with these three options is quite undesirable:
-mno-altivec -mvsx allows VSX to override no Altivec, thereby turning on both
-msoft-float -maltivec causes a crash if an actual Altivec instruction is required because soft float turns of Altivec
-msoft-float -mvsx is also accepted with both Altivec and VSX turned off (potentially causing crashes as above)
This patch diagnoses these impossible combinations in the driver so the user does not end up with surprises in terms of their options being ignored or silently overridden.
Inspired by https://github.com/llvm/llvm-project/issues/55556
Comments in reverse order?