[Load Store Opts] fix typo.

Swift SVN r20905
This commit is contained in:
Manman Ren
2014-08-01 18:24:18 +00:00
parent 0b7cd65a57
commit f98a535eb5

View File

@@ -691,7 +691,7 @@ class GlobalLoadStoreOpts : public SILFunctionTransform {
// Remove dead stores, merge duplicate loads, and forward stores to
// loads. We also update lists of stores|loads to reflect the end
// of the basic block.
ChangedDuringIteration = Forwarder.optimize(AA, PDI);
ChangedDuringIteration |= Forwarder.optimize(AA, PDI);
Changed |= ChangedDuringIteration;
}
} while (ChangedDuringIteration);