Skip to content

spirv-fuzz: AddDeadBreak and AddDeadContinue assume a constant can be created for the type involved in OpPhi #3953

@afd

Description

@afd

When a dead break or dead continue edge is added targeting a label that starts with OpPhi instructions these instructions need to be extended to account for the new edge. Currently we assume it is possible to create a constant of the type of the OpPhi instruction, but this is not always the case. An undef should be used when a constant cannot be created.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions