[SelectionDAG] Don't call GetWidenedVector for mask operands of MLOAD/MSTORE.
authorCraig Topper <craig.topper@intel.com>
Tue, 5 Dec 2017 23:08:25 +0000 (23:08 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 5 Dec 2017 23:08:25 +0000 (23:08 +0000)
commit57440a6f65f033368b9c01d074ed7af1d6aa18bf
tree9333e5882425b3a6f4f28d81829daa0777a989bc
parentba3542b2214664b2b795f2748a44b2f1917dc372
[SelectionDAG] Don't call GetWidenedVector for mask operands of MLOAD/MSTORE.

GetWidenedVector does't guarantee the widened elements are zero which would break the intended behavior of the operation.

llvm-svn: 319849
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp