[PATCH] D97053: [clang][SVE] Don't warn on vector to sizeless builtin implicit conversion

Joe Ellis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 08:57:28 PST 2021


joechrisellis added inline comments.


================
Comment at: clang/lib/Sema/SemaChecking.cpp:12055
+  if (auto *SourceVT = dyn_cast<VectorType>(Source)) {
+    if (Target->isSizelessBuiltinType()) {
+      auto SourceVectorKind = SourceVT->getVectorKind();
----------------
c-rhodes wrote:
> I suppose we could tighten this further by replacing `isSizelessBuiltinType` with `isVLSTBuiltinType`
Good shout -- thanks. :smile:


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97053



More information about the cfe-commits mailing list