Files
swift-mirror/include/swift/SIL/LoopInfo.h
Andrew Trick d86099f05f Use AccessPath in LICM.
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)
2020-11-10 12:19:18 -08:00

4.7 KiB