Skip to content

spirv-fuzz: Problem with exit block terminators in TransformationDuplicateRegionWithSelection #3940

@afd

Description

@afd

If a region ends with a block terminated by OpReturnValue or OpBranchConditional, and if the terminator uses an id defined in the region, then currently the transformed terminator uses the id defined in one part of the duplicated selection. It should instead use the id defined by the OpPhi that reconciles output ids from the two duplicated parts.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions