Skip to content
Unverified Commit 0a07cd1c authored by Alastair Donaldson's avatar Alastair Donaldson Committed by GitHub
Browse files

Add fuzzer pass to replace ids with synonyms (#2857)

If the fuzzer's fact manager knows that ids A and B are synonymous, it
can replace a use of A with a use of B, so long as various conditions
hold (e.g. the definition of B must dominate the use of A, and it is
not legal to replace a use of an OpConstant in a struct's access chain
with a synonym that is not an OpConstant).

This change adds a fuzzer pass to sprinke such synonym replacements
through the module.
parent bbb29870
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment