[PATCH] D153560: [Clang] Allow C++11 style initialisation of SVE types.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 26 09:21:36 PDT 2023


efriedma added inline comments.


================
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:1878
+
+    llvm_unreachable("Unexpected initialization of a scalable vector!");
+  }
----------------
I can see why you can't have more than one element... but both zero and one seem feasible.  (For example, `__SVInt8_t s8{__SVInt8_t{}};`.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153560



More information about the cfe-commits mailing list