Skip to content

Commit

Permalink
Reduce number of passes run
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroGhg committed Sep 12, 2024
1 parent b96cded commit 7ed14da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/SYCLNativeCPUUtils/PipelineSYCLNativeCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,10 @@ void llvm::sycl::utils::addSYCLNativeCPUBackendPasses(
[QueryFunc] { return vecz::VeczPassOptionsAnalysis(QueryFunc); });
MPM.addPass(vecz::RunVeczPass());
FunctionPassManager FPM;
FPM.addPass(LowerExpectIntrinsicPass());
FPM.addPass(SimplifyCFGPass());
FPM.addPass(SROAPass(SROAOptions::ModifyCFG));
FPM.addPass(EarlyCSEPass());
FPM.addPass(AggressiveInstCombinePass());
FPM.addPass(GVNPass(GVNOptions().setMemDep(true)));
FPM.addPass(AggressiveInstCombinePass());
FPM.addPass(ADCEPass());
FPM.addPass(DCEPass());
FPM.addPass(SimplifyCFGPass());
MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
Expand Down

0 comments on commit 7ed14da

Please sign in to comment.