OSDN Git Service

[ScalarizeMaskedMemIntrin] When expanding masked gathers, start with the passthru...
authorCraig Topper <craig.topper@intel.com>
Thu, 27 Sep 2018 21:28:59 +0000 (21:28 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 27 Sep 2018 21:28:59 +0000 (21:28 +0000)
commit2122d188d169320efb5b5abcac7f9a89441e95ed
tree5da500e75e63dc61f1dcabfc4328c8db6e9e1107
parentc670432bddac3660721cd751ec6808dfa5ad0cfe
[ScalarizeMaskedMemIntrin] When expanding masked gathers, start with the passthru vector and insert the new load results into it.

Previously we started with undef and did a final merge with the passthru at the end.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
test/CodeGen/X86/avx2-masked-gather.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-gather.ll