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
Don't emit branch unnecessary check for injection (#1029)
FixPi-Squared-Inc/pi2#1323
The llvm backend currently emits a branch each time a new injection is
created to check whether the term that is its child is itself an
injection. We skip over some circumstances where such a check would not
be necessary, but not all.
If the sort being injected has no subsort, then the child cannot be an
injection. This PR adds a condition to check if the current sort has no
subsorts. If that's the case, we also skip the branch/new blocks emit.
---------
Co-authored-by: devops <[email protected]>
Co-authored-by: rv-jenkins <[email protected]>
0 commit comments