Fix PR10656. It's only profitable to use 128-bit inserts and extracts
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 15 Aug 2011 21:45:54 +0000 (21:45 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 15 Aug 2011 21:45:54 +0000 (21:45 +0000)
commit50b37c79203668af8b223710dc6362d399040fdd
tree548cb79d6f480311df4ffd6e9e5bdef83442e7d0
parent7a328270be871f640d94fcebfd48dee02950fb8c
Fix PR10656. It's only profitable to use 128-bit inserts and extracts
when AVX mode is one. Otherwise is just more work for the type
legalizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-vinsertf128.ll