Commit Graph

7 Commits

Author SHA1 Message Date
Erik Eckstein
f80f31d9f2 fix a use-after-free problem in redundant load elimination
This shows up in an assert in RLE, but is very hard to reproduce.
The problem was that the reference to the Values map element is potentially invalidated when assigning to the Values map in this line:
   Values[Base] = FirstVal.stripLastLevelProjection();

hopefully fixes rdar://problem/29922800
2017-01-09 16:13:51 -08:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Arnold Schwaighofer
7e544f3658 Stop getUnderlyingObject at mark_dependence instructions for LSLocations
This helps remove redundant loads from mark_dependence instructions while our projection path can't handle them.

Fix for rdar://27138023
2016-07-01 15:02:32 -07:00
Xin Tong
500acb98e0 Rename LSBase.h to LoadStoreOptUtils.h 2016-06-08 10:57:27 -07:00
practicalswift
a7acb1a12a [gardening] Fix file header formatting. 2016-04-01 23:14:16 +02:00
Xin Tong
63d04a8713 Rename LSBase.cpp to LoadStoreOptUtils.cpp 2016-03-31 20:09:55 -07:00