mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The LICM algorithm was not robust with respect to address projection because it identifies a projected address by its SILValue. This should never be done! Use AccessPath instead. Fixes regressions caused by rdar://66791257 (Print statement provokes "Can't unsafeBitCast between types of different sizes" when optimizations enabled)
4.7 KiB
4.7 KiB