diff --git a/llvm/include/llvm/LinkAllPasses.h b/llvm/include/llvm/LinkAllPasses.h index 6e53d3aa5be29a..ad5ebdbe2051db 100644 --- a/llvm/include/llvm/LinkAllPasses.h +++ b/llvm/include/llvm/LinkAllPasses.h @@ -45,7 +45,7 @@ #include "llvm/Transforms/Utils.h" #include "llvm/Transforms/Utils/SymbolRewriter.h" #include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h" -#include "llvm/Transforms/Vectorize.h" +#include "llvm/Transforms/Vectorize/LoadStoreVectorizer.h" #include namespace { diff --git a/llvm/include/llvm/Transforms/Vectorize.h b/llvm/include/llvm/Transforms/Vectorize.h deleted file mode 100644 index cf92789252f674..00000000000000 --- a/llvm/include/llvm/Transforms/Vectorize.h +++ /dev/null @@ -1,29 +0,0 @@ -//===-- Vectorize.h - Vectorization Transformations -------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// -// This header file defines prototypes for accessor functions that expose passes -// in the Vectorize transformations library. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORMS_VECTORIZE_H -#define LLVM_TRANSFORMS_VECTORIZE_H - -namespace llvm { -class Pass; - -//===----------------------------------------------------------------------===// -// -// LoadStoreVectorizer - Create vector loads and stores, but leave scalar -// operations. -// -LLVM_FUNC_ABI Pass *createLoadStoreVectorizerPass(); - -} // End llvm namespace - -#endif diff --git a/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp b/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp index 73a80702671922..c0dbd52acbabe5 100644 --- a/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp @@ -103,7 +103,6 @@ #include "llvm/Support/ModRef.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/Local.h" -#include "llvm/Transforms/Vectorize.h" #include #include #include