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
Adds a transformation that inserts a conditional statement with a
boolean expression of arbitrary value and duplicates a given
single-entry, single-exit region, so that it is present in each
conditional branch and will be executed regardless of which branch will
be taken.
Fixes#3614.
Given a region R, this transformation will essentially turn R into:
or alternatively to:
In both cases the value of the boolean guard or integer switch selector does not matter given that the branches are semantically equivalent.
The code after the duplicated region will need to use an OpPhi to capture ids generated by R and used after R.
The text was updated successfully, but these errors were encountered: