================ @@ -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); ---------------- student433 wrote:
I also thought this would make sense and I think currently a 4 component(arch, vendor, OS, env) string is created for triple. Maybe c28-ti-unknown-eabi makes more sense then, if it also makes sense to upstream. 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