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
[5.5] CSE: While optimizing lazy property getters, don't inline non-ossa to ossa function (swiftlang#38231)
Fixes rdar://79781904
Cherry-pick of swiftlang#38184
• Explanation: Fixes a bug in optimizing lazy property getters in CSE. Lazy property getters are CSE'ed by inlining their function body. There was no check to skip inlining a non-ossa function into an ossa function which is illegal.
• Scope of Issue: Can lead to crashes or miscompilations
• Risk: Low. The fix is low risk because it is just avoiding the illegal CSE of lazy property getters.
• Reviewed By: Erik Eckstein
• Testing: Added unit tests
0 commit comments