Commit Graph

2 Commits

Author SHA1 Message Date
Arnold Schwaighofer
345d1a64c9 [6.2] LoadableByAddress: Fix shouldTransformYields to use (properly) substituted
types

Scope: The LoadableByAddress pass fails on some Swift source because it
ignores pattern substitutions.

Risk: Low. Many source patterns where this difference matters should have
crashed.

Fix: Don't ignore pattern substitutions.

Testing: The project that crashed no longer does. Unit test added.

rdar://149281263
issues/80818

(cherry picked from commit 521fb07523)
2025-04-22 08:16:52 -07:00
Arnold Schwaighofer
bca8a5970c Fix LoadableByAddress lowering of alloc_stack
rdar://84460204
2021-10-22 16:31:51 -07:00