Commit Graph

56 Commits

Author SHA1 Message Date
Nadav Rotem
79c552b003 Zero -> Nullptr. NFC.
Swift SVN r15384
2014-03-23 07:04:14 +00:00
Nadav Rotem
8e4ff9bf10 Any instruction that invalidates loads should also invalidate stores.
Swift SVN r15382
2014-03-23 06:54:16 +00:00
Nadav Rotem
20c8272388 Promote partial-loads after stores.
Swift SVN r14217
2014-02-21 18:41:58 +00:00
Nadav Rotem
0a5f7b57a7 Change the debug string to match the ail-opt flag.
Swift SVN r14216
2014-02-21 18:40:35 +00:00
Michael Gottesman
fbe2ccf0d6 [sil-aa] Add in convenience methods for querying AliasAnalysis::getMemoryBehavior.
The methods are:

 * mayWriteToMemory()
 * mayReadFromMemory()
 * mayReadOrWriteMemory()
 * mayHaveSideEffects() [Side effects + writing to memory]
 * mayHavePureSideEffects() [Only side effects, ignores writes to memory]

Swift SVN r13791
2014-02-12 00:14:29 +00:00
Michael Gottesman
8cff098f1e Split SILCodeMotion into two passes, LoadStoreOpts and SILCodeMotion.
LoadStoreOpts removes duplicate loads, forwards stores to loads, and eliminates
dead stores.

Swift SVN r13789
2014-02-11 23:36:51 +00:00