[DAGCombiner] Teach visitMSTORE to replace an all ones mask with an unmasked store.
authorCraig Topper <craig.topper@intel.com>
Wed, 16 Sep 2020 23:37:36 +0000 (16:37 -0700)
committerCraig Topper <craig.topper@intel.com>
Wed, 16 Sep 2020 23:42:22 +0000 (16:42 -0700)
commite30371d99d5157ac9718c803dd1101f9cbb1b224
tree8de5c226ad623e598c6f608eb02ecc020b286772
parentf70baaf71f62ba8623b3522345527271add74f6b
[DAGCombiner] Teach visitMSTORE to replace an all ones mask with an unmasked store.

Similar to what done in D87788 for MLOAD.

Again I've skipped indexed, truncating, and compressing stores.
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/masked_store.ll