mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
8e6560aa78
Fixes a miscompile when the index of `index_addr` is a negative integer constant. In this case two access paths were considered overlapping while in reality they reference two different array elements. The miscompile manifested in the dead-store-elimination pass, but could potentially also show up in other passes, which use this utility. https://github.com/swiftlang/swift/issues/77558 rdar://176820188