[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)
commit5f79d749466239f1d9cc55871c9f5c6cc2451bab
tree464979a8cef0d32f0ac4a71ccd8b82c8e42117cd
parent162360774ed9c1922820d2afa2d6cd39983e90d5
[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.

llvm-svn: 362341
llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
llvm/test/CodeGen/X86/masked_gather_scatter.ll
llvm/test/CodeGen/X86/masked_store.ll