[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / llvm / lib / Transforms / Vectorize / Vectorize.cpp
blob2f5048d2a66439d16e662ea86af0355cbc8d3201
1 //===-- Vectorize.cpp -----------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements common infrastructure for libLLVMVectorizeOpts.a, which
10 // implements several vectorization transformations over the LLVM intermediate
11 // representation, including the C bindings for that library.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/InitializePasses.h"
16 #include "llvm/PassRegistry.h"
18 using namespace llvm;
20 /// Initialize all passes linked into the Vectorization library.
21 void llvm::initializeVectorization(PassRegistry &Registry) {
22 initializeLoadStoreVectorizerLegacyPassPass(Registry);