[x86] Sink a generic combine of VZEXT nodes from the lowering to VZEXT
authorChandler Carruth <chandlerc@gmail.com>
Sat, 4 Oct 2014 01:05:48 +0000 (01:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 4 Oct 2014 01:05:48 +0000 (01:05 +0000)
commitcd2c1d8db157e9b4706f5a79439036a302de963f
tree09859a65813583289fda7bb2183d6a49a61a65bd
parent9747d27b59a00461151dfc73a05ad78899a0be74
[x86] Sink a generic combine of VZEXT nodes from the lowering to VZEXT
nodes to the DAG combining of them.

This will allow the combine to fire on both old vector shuffle lowering
and the new vector shuffle lowering and generally seems like a cleaner
design. I've trimmed down the code a bit and tried to make it and the
surrounding combine fairly clean while moving it around.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp