Files
swift-mirror/lib/SILPasses/LoadStoreOpts.cpp
Mark Lacey 15dbf5e0b8 Properly invalidate non-local stores in global load/store opts.
In global load/store optimization, ensure that we remove non-local
stores from the store map when we hit instructions that can potentially
overwrite all or part of the stored value.

In the test case from this particular radar, the address being stored to
is also passed as an inout to a mutating method, and then loaded after
the mutation.

rdar://problem/20603219

Swift SVN r28053
2015-05-01 22:50:12 +00:00

55 KiB