Skip to content

Commit

Permalink
Returned the cleanup pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBakhvalov committed Mar 2, 2021
1 parent bdc5947 commit 6a257fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/tools/sycl-post-link/sycl-post-link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,11 @@ static void LowerEsimdConstructs(Module &M) {
MPM.add(createEarlyCSEPass(true));
MPM.add(createInstructionCombiningPass());
MPM.add(createDeadCodeEliminationPass());
// TODO: maybe remove some passes below that don't affect code quality
MPM.add(createSROAPass());
MPM.add(createEarlyCSEPass(true));
MPM.add(createInstructionCombiningPass());
MPM.add(createDeadCodeEliminationPass());
}
MPM.add(createGenXSPIRVWriterAdaptorPass());
MPM.run(M);
Expand Down

0 comments on commit 6a257fe

Please sign in to comment.