[PATCH] D97825: [RISCV] Use RISCVV_BUILTIN for vector intrinsic checking.

Hsiangkai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 2 21:44:33 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf7e675b3da1d: [RISCV] Use RISCVV_BUILTIN for vector intrinsic checking. (authored by HsiangKai).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97825

Files:
  clang/lib/Sema/SemaChecking.cpp


Index: clang/lib/Sema/SemaChecking.cpp
===================================================================
--- clang/lib/Sema/SemaChecking.cpp
+++ clang/lib/Sema/SemaChecking.cpp
@@ -3395,7 +3395,7 @@
   switch (BuiltinID) {
   default:
     break;
-#define BUILTIN(ID, TYPE, ATTRS) case RISCV::BI##ID:
+#define RISCVV_BUILTIN(ID, TYPE, ATTRS) case RISCV::BI##ID:
 #include "clang/Basic/BuiltinsRISCV.def"
     if (!TI.hasFeature("experimental-v"))
       return Diag(TheCall->getBeginLoc(), diag::err_riscvv_builtin_requires_v)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97825.327670.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210303/edae7964/attachment.bin>


More information about the cfe-commits mailing list