aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-20 07:17:59 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-20 07:17:59 +0000
commit89f4e6639d174d20f8be59af4895d7d851e4f624 (patch)
treee63c740f1c4c20931a1bdd628fb17af5559aa948 /lib/CodeGen/MachineSink.cpp
parenta1ffc681ed7372bd371c44a6e186291b6416fe47 (diff)
Remove code that prevented lowering shuffles if they are used by load and themselves used by a extract_vector_elt. This was done to allow the DAG combiner to collapse to a single element load. Unfortunately, sometimes the extract_vector_elt would disappear before DAG combine could do the transformation leaving a vector_shuffle that isel couldn't handle. New code lets the shuffle be converted to a target specific node, but then adds a combine routine that can convert target specific nodes back to vector_shuffles if the folding criteria are met.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions