[PATCH] D105168: [RISCV] Unify the arch string parsing logic to RISCVISAInfo.

Zakk Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 18 21:12:31 PDT 2021


khchen added a comment.

This all looks good to me except some tidy warning.
wait for others comments.



================
Comment at: llvm/lib/Support/RISCVISAInfo.cpp:460
+
+    addExtension("e");
+  }
----------------
nit: add `break;` to avoid the implicit-fallthrough warning.


================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:57
+}
+
 namespace {
----------------
nit: please fix this tidy warning


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105168



More information about the cfe-commits mailing list