]> granicus.if.org Git - llvm/commit
[X86] Add test cases for masked store and masked scatter with an all zeroes mask...
authorCraig Topper <craig.topper@intel.com>
Sun, 2 Jun 2019 22:52:34 +0000 (22:52 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 2 Jun 2019 22:52:34 +0000 (22:52 +0000)
commit976880462881361a16b7649dd7c42dba66d57da0
tree04ca0ee6714916ee794ea849ccda3d7d63acf83a
parent374853711561e510c6134405545f159e84cf8537
[X86] Add test cases for masked store and masked scatter with an all zeroes mask. Fix bug in ScalarizeMaskedMemIntrin

Need to cast only to Constant instead of ConstantVector to allow
ConstantAggregateZero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362341 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/masked_store.ll