diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h index 9ef5ff88511..9cd210e2b01 100644 --- a/include/llvm/Support/StandardPasses.h +++ b/include/llvm/Support/StandardPasses.h @@ -83,7 +83,7 @@ namespace llvm { createStandardAliasAnalysisPasses(PM); PM->add(createCFGSimplificationPass()); PM->add(createScalarReplAggregatesPass()); - PM->add(createInstructionCombiningPass()); + PM->add(createEarlyCSEPass()); } }