[deploy]取消m2r和r2m
This commit is contained in:
@@ -124,9 +124,9 @@ void PassManager::runOptimizationPipeline(Module* moduleIR, IRBuilder* builderIR
|
||||
printPasses();
|
||||
}
|
||||
|
||||
this->clearPasses();
|
||||
this->addPass(&Mem2Reg::ID);
|
||||
this->run();
|
||||
// this->clearPasses();
|
||||
// this->addPass(&Mem2Reg::ID);
|
||||
// this->run();
|
||||
|
||||
// if(DEBUG) {
|
||||
// std::cout << "=== IR After Mem2Reg Optimizations ===\n";
|
||||
@@ -200,9 +200,9 @@ void PassManager::runOptimizationPipeline(Module* moduleIR, IRBuilder* builderIR
|
||||
// printPasses();
|
||||
// }
|
||||
|
||||
this->clearPasses();
|
||||
this->addPass(&Reg2Mem::ID);
|
||||
this->run();
|
||||
// this->clearPasses();
|
||||
// this->addPass(&Reg2Mem::ID);
|
||||
// this->run();
|
||||
|
||||
if(DEBUG) {
|
||||
std::cout << "=== IR After Reg2Mem Optimizations ===\n";
|
||||
|
||||
Reference in New Issue
Block a user