zixuan-wu added inline comments.
================ Comment at: clang/lib/Driver/Driver.cpp:660 + + if (RVArch == llvm::Triple::riscv64 && + ArchName.startswith_insensitive("rv32")) ---------------- eopXD wrote: > Do we need to throw error (or warning) when these two (`RVArch` and > `ArchName`) don't match? It just overrides it as before to not report error when for example default triple is rv64 with user passing -march=rv32xxx Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129824/new/ https://reviews.llvm.org/D129824 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits