[clang] [RISCV] Merging RISCVToolChain and BareMetal toolchains (PR #118809)

Garvit Gupta via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 15:29:31 PST 2024


================
@@ -6521,11 +6521,7 @@ const ToolChain &Driver::getToolChain(const ArgList &Args,
         break;
       case llvm::Triple::riscv32:
       case llvm::Triple::riscv64:
-        if (toolchains::RISCVToolChain::hasGCCToolchain(*this, Args))
-          TC =
-              std::make_unique<toolchains::RISCVToolChain>(*this, Target, Args);
-        else
-          TC = std::make_unique<toolchains::BareMetal>(*this, Target, Args);
----------------
quic-garvgupt wrote:

yes, I have deleted those files as a part of my current patchset

https://github.com/llvm/llvm-project/pull/118809


More information about the cfe-commits mailing list