[llvm] [Triple] Add "swift" as a vendor. (PR #85094)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 11:14:52 PDT 2024
https://github.com/MaskRay requested changes to this pull request.
You can freely use a vendor not listed in Triple.h, e.g. you can do `--target=x86_64-swift-linux-gnu` today without any extra code.
Actually, some `VendorType` values are redundant and probably should be there in the first place.
A VendorType member is only needed when it has some special behavior. However, recent Driver improvements try to provide generic mechanisms (e.g. configuration file) to provide customization instead of adding hard-coded logic.
https://github.com/llvm/llvm-project/pull/85094
More information about the llvm-commits
mailing list