[PATCH] D69383: [RISCV] Match GCC `-march`/`-mabi` driver defaults

Kuan Hsu Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 11:12:29 PDT 2019


khchen added inline comments.
Herald added a subscriber: sameer.abuasal.


================
Comment at: clang/lib/Driver/ToolChains/Arch/RISCV.cpp:537
+  if (Triple.getArch() == llvm::Triple::riscv32)
+    return "rv32gc";
   else
----------------
Why do you set rv32gc and rv64gc as default march? Is there a any reason?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69383/new/

https://reviews.llvm.org/D69383





More information about the cfe-commits mailing list