================
@@ -1571,6 +1572,13 @@ Compilation *Driver::BuildCompilation(ArrayRef<const 
char *> ArgList) {
     } else {
       Diag(diag::err_drv_dxc_missing_target_profile);
     }
+  } else if (IsC2000Mode()) {
+    llvm::Triple T(TargetTriple);
+    T.setArch(llvm::Triple::c2000);
----------------
DragonDisciple wrote:

Not so sure about the Arch/Vendor. The architecture itself is the 'C28X' or 
'C28', so 'c28' makes more sense than C2000.
As for vendor, maybe adding a TI vendor would be preferred? I'm not sure if 
there's a decorum for that field. We use c29-ti and arm-ti for our own 
toolchains.

https://github.com/llvm/llvm-project/pull/125663
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to