================
@@ -414,13 +434,15 @@ Expected<CallInst *> 
DXILOpBuilder::tryCreateOp(dxil::OpCode OpCode,
 
   uint16_t ValidTyMask = Prop->Overloads[*OlIndexOrErr].ValidTys;
 
-  OverloadKind Kind = getOverloadKind(OverloadTy);
+  OverloadKind Kind = getOverloadKind(OverloadTy, Prop->AllowVectorOverloads);
 
   // Check if the operation supports overload types and OverloadTy is valid
   // per the specified types for the operation
   if ((ValidTyMask != OverloadKind::UNDEFINED) &&
-      (ValidTyMask & (uint16_t)Kind) == 0)
+      (ValidTyMask & (uint16_t)Kind) == 0) {
+    OverloadTy->print(llvm::errs());
----------------
inbelic wrote:

Whoops, will remove when I address other comments

https://github.com/llvm/llvm-project/pull/110739
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to