You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ spirv-val 1.spv
error: line 41: OpPhi's result type <id> '4[%_ptr_Function_uchar]' does not match incoming value <id> '15[%r2]' type <id> '8[%_ptr_Function_uint]'.
%ret = OpPhi %_ptr_Function_uchar %r1 %22 %r2 %23
The text was updated successfully, but these errors were encountered:
… a pointer and function's return type (#109660)
This PR improves type inference and fixes inconsistency between
previously deduced element type of a pointer and function's return type.
It fixesllvm/llvm-project#109401 by ensuring
that OpPhi is consistent with respect to operand types.
… a pointer and function's return type (llvm#109660)
This PR improves type inference and fixes inconsistency between
previously deduced element type of a pointer and function's return type.
It fixesllvm#109401 by ensuring
that OpPhi is consistent with respect to operand types.
SPIR-V Backend emits invalid types in OpPhi in the following reproducer:
spirv-val output:
The text was updated successfully, but these errors were encountered: