]> granicus.if.org Git - llvm/commit
[X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 13 Aug 2019 11:11:42 +0000 (11:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 13 Aug 2019 11:11:42 +0000 (11:11 +0000)
commit92711673a5d2bf6b59d092bbd3160bf8996c9c62
treefc521ad3f0e39ad241b56818ff234e3dd617a3b6
parentbaab7c15af63ab1bcd033b31875a035d4079f985
[X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling

If the target shuffle mask is from a wider type, attempt to scale the mask so that the extraction can attempt to peek through.

Fixes the regression mentioned in rL368662

Reapplying this as rL368308 had to be reverted as part of rL368660 to revert rL368276

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