Skip to content

spirv-fuzz: Helper function to apply transformations only if they are applicable #3530

@stefanomil

Description

@stefanomil

Sometimes, fuzzer passes need to apply a transformation only after checking that they are applicable (rather than asserting that they are, as happens in ApplyTransformation).

It would be useful to have a helper function MaybeApplyTransformation to do that and use it in all places where this pattern is used.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions