Commits

Arnold Schwaighofer committed d1df3d6e28a
LoadStoreOpts: Don't ignore aliasing stores The code used ssa value inquality to disqualify aliasing. This is not strong enough. Use AliasAnalysis instead. This is a correctness fix. Unfortunately, I measured the following regressions at -O: TEST``````````````````````````Speedup(minbefore/minafter) ArrayOfGenericPOD`````````````0.73871 ArrayOfPOD````````````````````0.701107 CaptureProp```````````````````0.886796 Dictionary2```````````````````0.907991 Dictionary3```````````````````0.86035 LevenshteinDistance```````````0.714346 QuickSort`````````````````````0.942924 RC4```````````````````````````0.742609 SwiftStructuresInsertionSort``0.942875 TwoSum````````````````````````0.956233 I measured the following regressions at -Onone: TEST```````````````````````Speedup(minbefore/minafter) RIPEMD`````````````````````0.955413 SwiftStructuresBubbleSort``0.943074 I measured the following regressions at -Ounchecked: TEST```````````Speedup(minbefore/minafter) RC4````````````0.757648 StringBuilder``0.956013 SuperChars`````0.954549 rdar://19362910 Swift SVN r24247