Add a dag combine to xform 256-bit shuffles into simple vector
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 11 Aug 2011 21:50:44 +0000 (21:50 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 11 Aug 2011 21:50:44 +0000 (21:50 +0000)
commitef8d6999f379c1a551d89b9cce7ca6dc7246fe52
treefa587a10f38782eb4bdccb9cafcceb769cf292a4
parentec91640997f1df46fce723dfa630ae6942a1dd00
Add a dag combine to xform 256-bit shuffles into simple vector
inserts and extracts. This simple combine makes us generate only 1
instruction instead of 11 in the v8 case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137362 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-vextractf128.ll [new file with mode: 0644]
test/CodeGen/X86/avx-vinsertf128.ll [new file with mode: 0644]