[clang] 4875ff1 - [RISCV] Remove redundant enabling of IAS for Clang, NFC
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 20:45:07 PDT 2022
Author: Brad Smith
Date: 2022-04-04T23:44:49-04:00
New Revision: 4875ff1dc90bba089a5a14023d5eec69490b0422
URL: https://github.com/llvm/llvm-project/commit/4875ff1dc90bba089a5a14023d5eec69490b0422
DIFF: https://github.com/llvm/llvm-project/commit/4875ff1dc90bba089a5a14023d5eec69490b0422.diff
LOG: [RISCV] Remove redundant enabling of IAS for Clang, NFC
Generic_GCC::IsIntegratedAssemblerDefault() already takes care of RISCV.
Reviewed By: kito-cheng, MaskRay
Differential Revision: https://reviews.llvm.org/D123097
Added:
Modified:
clang/lib/Driver/ToolChains/RISCVToolchain.h
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/RISCVToolchain.h b/clang/lib/Driver/ToolChains/RISCVToolchain.h
index 62099bee04047..46b94bdb54e09 100644
--- a/clang/lib/Driver/ToolChains/RISCVToolchain.h
+++ b/clang/lib/Driver/ToolChains/RISCVToolchain.h
@@ -22,7 +22,6 @@ class LLVM_LIBRARY_VISIBILITY RISCVToolChain : public Generic_ELF {
const llvm::opt::ArgList &Args);
static bool hasGCCToolchain(const Driver &D, const llvm::opt::ArgList &Args);
- bool IsIntegratedAssemblerDefault() const override { return true; }
void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args,
Action::OffloadKind) const override;
More information about the cfe-commits
mailing list