diff --git a/lib/runtime/function.cc b/lib/runtime/function.cc index 91d126de5..1087571a8 100644 --- a/lib/runtime/function.cc +++ b/lib/runtime/function.cc @@ -147,6 +147,8 @@ std::tuple, codegen::generator isel(&axes, &layouts, &align, &allocation, &swizzle, target.get(), opt.num_warps); // run passes dce.run(ir); + peephole.run(ir); + dce.run(ir); pipeline.run(ir); dce.run(ir); disassociate.run(ir);