Open
Description
In the test file of SPV_INTEL_task_sequence, the following test files
task_sequence_zero_capacity_literals.ll
task_sequence.ll
we observe the following validation error when running spirv-val:
error: line 83: ID '24[%_Z4multii]' has not been defined
%call_i1 = OpTaskSequenceCreateINTEL %17 %_Z4multii 10 4294967295 17 1
The SPIR-V emitted by the backend places the instruction:
%call_i1 = OpTaskSequenceCreateINTEL %17 %_Z4multii 10 4294967295 17 1
before the definition of the %_Z4multii function. Since SPIR-V validation requires that all IDs used must be declared before use (especially function IDs), this leads to a validation error.
Metadata
Metadata
Assignees
Labels
No labels