Skip to content

Commit 14b843b

Browse files
committed
Fix excess kernel_arg_type_qual entry in test
The metadata had 7 entries whereas the function only has 6 parameters, causing foreachKernelArgMD to read past the end of an std::vector.
1 parent a49de2a commit 14b843b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/transcoding/SPV_KHR_integer_dot_product-sat.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,6 @@ attributes #0 = { nounwind }
291291
!5 = !{i32 0, i32 0}
292292
!6 = !{!"none", !"none", !"none", !"none", !"none", !"none"}
293293
!7 = !{!"int", !"int", !"char", !"short", !"int", !"long"}
294-
!8 = !{!"", !"", !"", !"", !"", !"", !""}
294+
!8 = !{!"", !"", !"", !"", !"", !""}
295295
!9 = !{!"char4", !"char4", !"char", !"short", !"int", !"long"}
296296
!10 = !{!"short2", !"short2", !"char", !"short", !"int", !"long"}

0 commit comments

Comments
 (0)