[X86] Reduce math for index calculation for inserting and extracting subvectors and...
authorCraig Topper <craig.topper@gmail.com>
Sat, 31 Oct 2015 17:27:52 +0000 (17:27 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 31 Oct 2015 17:27:52 +0000 (17:27 +0000)
commit2d7d45bb2078150697d626ce3c242cf519b435f4
tree416c132f8ff30416d1c753b4c073d894af365617
parente798009f10f783f955c1db5b4cc59571c9efd8e4
[X86] Reduce math for index calculation for inserting and extracting subvectors and elements by exploiting the fact that all supported vector types have a power 2 number of elements.

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