swift
b7249e7e - [region-isolation] Rather than considering the callee as part of an applies merged region as a value, just propagate its isolation.

Commit
1 year ago
[region-isolation] Rather than considering the callee as part of an applies merged region as a value, just propagate its isolation. The reason that I am doing this is it ensures that if we have a region isolation merge failure due to a mismatch in between the actual args in the region and the propagated callee isolation, we see it immediately when we translate the apply into the pseudo-IR instead of later when we perform the actual diagnostic emission. This makes it far easier to diagnose these issues since we get an unknown pattern very early which can be asserted on via the option -sil-region-isolation-assert-on-unknown-pattern.
Author
Committer
Parents
Loading