- Support macOS 11+ version scheme
- Standardize substitution name %min_deployment_target=x.y
- Remove unneeded error cases (the input version is hard-coded)
- Specify version as tuple instead of string; no need to parse it
These changes should also facilitate a future addition of a substitution
that expands to "set deployment target to current target version"
(https://reviews.llvm.org/D70151).
Nit: min_deployment_target is a very general sounding thing but in this context its Darwin specific. You might want to put macos or darwin in the name somewhere to make this clear.