[clang] [llvm] [SPIRV] Add support for the `SPV_EXT_long_vector` extension (PR #210279)
Alex Voicu via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 20 06:21:32 PDT 2026
================
@@ -971,6 +971,11 @@ Register createVirtualRegister(
MIRBuilder);
}
+bool isVectorType(SPIRVTypeInst SPVTy) {
+ return SPVTy->getOpcode() == SPIRV::OpTypeVector ||
+ SPVTy->getOpcode() == SPIRV::OpTypeVectorIdEXT;
+}
----------------
AlexVlx wrote:
Probably tidier, unless there are objections to growing that interface.
https://github.com/llvm/llvm-project/pull/210279
More information about the cfe-commits
mailing list