[PATCH] D138930: [RISCV] Add macro to imply compiler availability on RISC-V Vector intrinsics version

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 03:16:16 PST 2022


asb accepted this revision.
asb added a comment.

LGTM, thanks!



================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:195
     Builder.defineMacro("__riscv_vector");
+    // Currently we support the v0.10 RISC-V V intrinsics
+    unsigned Version = (0 * 1000000) + (10 * 1000);
----------------
Nit: comment should end with full stop.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138930



More information about the cfe-commits mailing list