Still do the gather/scatter -> load store pass even if leaving 'pseudo' mem opts unchanged.

This commit is contained in:
Matt Pharr
2012-03-19 12:02:54 -07:00
parent 60aae16752
commit 57af0eb64f

View File

@@ -388,7 +388,6 @@ Optimize(llvm::Module *module, int optLevel) {
if (g->opt.disableHandlePseudoMemoryOps == false)
optPM.add(CreatePseudoMaskedStorePass());
if (g->opt.disableGatherScatterOptimizations == false &&
g->opt.disableHandlePseudoMemoryOps == false &&
g->target.vectorWidth > 1) {
optPM.add(CreateGSToLoadStorePass());