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
{{ message }}
Repository navigation
Incorrect optimization/effects with GlobalEffects in closed-world #8831
In GlobalEffects when --closed-world is enabled, we compute effects for indirect calls by aggregating effects for potential callees. This goes wrong in some cases when types are merged. We try to account for this today, but it doesn't handle the case of missing entries in the map correctly; a missing map entry indicates that we don't know the effects and thus need to assume all possible effects (e.g. for a call to an import), but for missing entries we don't copy anything to the renamed map. i.e. if type A has unknown effects and type B has no effects, and we rewrite A -> B, we don't modify B's entry at all and continue to assume that B has no effects.
Activity
Fix type merging for unknown effects (WebAssembly#8833)