[PATCH] D144613: [RISCV] Properly diagnose mixing RVV scalable vectors with GNU vectors.

Cullen Rhodes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 23 05:15:25 PST 2023


c-rhodes accepted this revision.
c-rhodes added a comment.
This revision is now accepted and ready to land.

One minor nit but otherwise LGTM



================
Comment at: clang/lib/Sema/SemaExpr.cpp:10769-10770
 
   // Expressions containing GNU and SVE (fixed or sizeless) vectors are invalid
   // since the ambiguity can affect the ABI.
+  auto IsSveRVVGnuConversion = [](QualType FirstType, QualType SecondType,
----------------
nit: update comment?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144613



More information about the cfe-commits mailing list