SLPVectorizer: Make it a function pass and add code for hoisting the vector-gather...
authorNadav Rotem <nrotem@apple.com>
Mon, 15 Apr 2013 22:00:26 +0000 (22:00 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 15 Apr 2013 22:00:26 +0000 (22:00 +0000)
commite9a4411db4d3a05965630f668daf8071bf2d3513
tree910f2e83862c8fe7ce21f401a16d00e9ebaf6ffd
parentc9363ef67a5716a282bd7b4810c61da522bb7fd9
SLPVectorizer: Make it a function pass and add code for hoisting the vector-gather sequence out of loops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179562 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Vectorize/SLPVectorizer.cpp
lib/Transforms/Vectorize/VecUtils.cpp
lib/Transforms/Vectorize/VecUtils.h
test/Transforms/SLPVectorizer/X86/hoist.ll [new file with mode: 0644]