Still do the gather/scatter -> load store pass even if leaving 'pseudo' mem opts unchanged.
This commit is contained in:
1
opt.cpp
1
opt.cpp
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user