[PATCH] D94617: [RISCV] Add Zba feature and move add.uw and slli.uw to it.

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 21 07:19:34 PST 2021


asb accepted this revision.
asb added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Arch/RISCV.cpp:61
 isExperimentalExtension(StringRef Ext) {
-  if (Ext == "b" || Ext == "zbb" || Ext == "zbc" || Ext == "zbe" ||
+  if (Ext == "b" || Ext == "zba" || Ext == "zbb" || Ext == "zbc" || Ext == "zbe" ||
       Ext == "zbf" || Ext == "zbm" || Ext == "zbp" || Ext == "zbr" ||
----------------
Nit: clang-format's suggested reformatting seems sensible here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94617



More information about the cfe-commits mailing list