]> granicus.if.org Git - llvm/commit
[X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 8 Aug 2019 16:05:23 +0000 (16:05 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 8 Aug 2019 16:05:23 +0000 (16:05 +0000)
commit66d11c88dc79a3ec8df49e51378b30fb164e7e69
tree1021ff000d898ced0ebc4c342d65ed327647e794
parentad6087cf4a072c5a65536ffc61102991a07bbacc
[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 rL368307

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