[clang] [llvm] [SPIRV] Add support for the `SPV_EXT_long_vector` extension (PR #210279)

Marcos Maronas via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 07:49:28 PDT 2026


================
@@ -505,21 +505,38 @@ inline bool isVector1(Type *Ty) {
   return FVTy && FVTy->getNumElements() == 1;
 }
 
+// We define this predicate out of line to avoid having to include all OpTypes.
+bool isVectorType(SPIRVTypeInst SPVTy);
----------------
maarquitos14 wrote:

Blank line in between.

https://github.com/llvm/llvm-project/pull/210279


More information about the cfe-commits mailing list