[clang] [llvm] [clang] Add support for the c2000 architecture (PR #125663)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 19 22:49:44 PST 2025
================
@@ -430,6 +430,7 @@ static const DriverSuffix *FindDriverSuffix(StringRef ProgName, size_t &Pos) {
// `flang-new`. This will be removed in the future.
{"flang-new", "--driver-mode=flang"},
{"clang-dxc", "--driver-mode=dxc"},
+ {"cl2000", "--driver-mode=cl2000"},
----------------
MaskRay wrote:
I strongly object to introduce a new driver mode without a very active community and full-blown support (including codegen). You can see taht all the existing ones are not added lightly. There are very heavy commitment on the maintenance (e.g. flang, dxc). It would not significant maintenance nightmare if every downstream target without codegen support adds a driver mode here.
https://github.com/llvm/llvm-project/pull/125663
More information about the cfe-commits
mailing list