================
@@ -1978,8 +2002,10 @@ SPIRVTypeInst 
SPIRVGlobalRegistry::getOrCreateSPIRVVectorType(
   MachineIRBuilder MIRBuilder(*DepMI->getParent(), DepMI->getIterator());
   const MachineInstr *NewMI = createConstOrTypeAtFunctionEntry(
       MIRBuilder, [&](MachineIRBuilder &MIRBuilder) {
+        auto OpTy =
+            (isLongVector(Ty)) ? SPIRV::OpTypeVectorIdEXT : 
SPIRV::OpTypeVector;
----------------
AlexVlx wrote:

No, I don't think we should always use the extended type, even if it is 
available.

https://github.com/llvm/llvm-project/pull/210279
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to