summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-02-01 03:51:43 +0000
committerHal Finkel <hfinkel@anl.gov>2012-02-01 03:51:43 +0000
commitde5e5ec3045a73a06b1054417f9ac6c02929e9ce (patch)
tree02f43070729c0328db2d86e33acd94df3ab52d53 /tools/opt/opt.cpp
parentd0e277d272d517ca1cda368267d199f0da7cad95 (diff)
downloadllvm-de5e5ec3045a73a06b1054417f9ac6c02929e9ce.tar.gz
llvm-de5e5ec3045a73a06b1054417f9ac6c02929e9ce.tar.bz2
llvm-de5e5ec3045a73a06b1054417f9ac6c02929e9ce.tar.xz
Add a basic-block autovectorization pass.
This is the initial checkin of the basic-block autovectorization pass along with some supporting vectorization infrastructure. Special thanks to everyone who helped review this code over the last several months (especially Tobias Grosser). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 51613649b5..30da863b41 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -480,6 +480,7 @@ int main(int argc, char **argv) {
PassRegistry &Registry = *PassRegistry::getPassRegistry();
initializeCore(Registry);
initializeScalarOpts(Registry);
+ initializeVectorization(Registry);
initializeIPO(Registry);
initializeAnalysis(Registry);
initializeIPA(Registry);