[PATCH] D95016: [Clang][RISCV] Add custom TableGen backend for riscv-vector intrinsics.

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 20 18:43:51 PST 2021


craig.topper added inline comments.


================
Comment at: clang/utils/TableGen/RISCVVEmitter.cpp:881
+    if (!Def->hasSideEffects())
+      OS << "\"n\")\n";
+    else
----------------
"n" refers to "nothrow" which means the builtin doesn't throw a C++ exception. None of our builtins throw a C++ exceptions so they should all have "n" as far as I know.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95016



More information about the cfe-commits mailing list