Commit b611a65a authored by my2002's avatar my2002
Browse files

Merge branch 'riscv' of github.com:segfault-compiler/segfault-compiler into riscv

No related merge requests found
Showing with 1 addition and 3 deletions
+1 -3
......@@ -78,9 +78,7 @@ bool PassBuilder::parsePipeline(std::string pipeline, OptimizationLevel opt) {
return false;
}
if (opt <= OptimizationLevel::O0) {
return true;
} else if (opt <= OptimizationLevel::O1) {
if (opt >= OptimizationLevel::O1) {
collectPass("DeadCode", "FuncInline", "DeadCode", "SimplifyCFG",
"DeadCode", "Mem2Reg", "ConstProp", "DeadCode", "GVN",
"DeadCode", "LICM", "LoopUnrolling", "DeadCode");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment