diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index de99002fee5..a8fb5356a5c 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -61,7 +61,6 @@ namespace { (void) llvm::createDeadStoreEliminationPass(); (void) llvm::createDeadTypeEliminationPass(); (void) llvm::createEdgeProfilerPass(); - (void) llvm::createRedundantLoadEliminationPass(); (void) llvm::createFunctionInliningPass(); (void) llvm::createFunctionProfilerPass(); (void) llvm::createGCSEPass(); diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 6603a29f1a8..6bf7dd3b376 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -330,13 +330,6 @@ FunctionPass *createPredicateSimplifierPass(); // FunctionPass *createGVNPREPass(); -//===----------------------------------------------------------------------===// -// -// RedundantLoadElimination - This pass deletes loads that are dominated by -// must-aliased loads and are not stored to between the loads. -// -FunctionPass *createRedundantLoadEliminationPass(); - //===----------------------------------------------------------------------===// // // GVN - This pass performs global value numbering and redundant load