[PATCH] D133214: [docs][RISCV] Document experimental extensions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 20:50:54 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/docs/RISCVUsage.rst:100
+``experimental-zbe``, ``experimental-zbf``, ``experimental-zbm``, ``experimental-zbp``, ``experimental-zbr``, ``experimental-zbt``
+  LLVM implements the `latest state of the bitmanip working branch <https://github.com/riscv/riscv-bitmanip/tree/main-history>`_, which is largely similiar to the 0.93 draft specification but with some instruction naming changes.  These are individual portions of the bitmanip efforts which did *not* get ratified.  Given ratification for these sub-extensions appears stalled; they are a likely candidate for removal in the future.
+
----------------
similiar -> similar


================
Comment at: llvm/docs/RISCVUsage.rst:114
+
+To use an experimental extension from `clang`, you must add `-menable-experimental-extensions` to the command line, and specify the exact version of the experimental extension you are using.  To use an experimental extension with LLVM's internal developer tools (e.g. `llc`, `llvm-objdump`, `llvm-mc`), you must preceed the extension name with `experimental-`.  Note that you don't need to specify the version with internal tools, and shouldn't include the `experimental-` prefix with `clang`.
+
----------------
preceed -> precede. Though "prefix" might be better in this context?


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

https://reviews.llvm.org/D133214



More information about the llvm-commits mailing list