commit | e01b61f38948a7ded013464bd666c4dd0cab5dec | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Dec 05 23:08:27 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Dec 05 23:08:27 2017 +0000 |
tree | f6bc3f23c018b7a8ae353dd87640573d5e921b35 | |
parent | 73a2d507034fab46f3b5b4ca5955cf85ce76b027 [diff] |
[SelectionDAG] Don't promote mask operands of MGATHER and MLOAD to setcc result type while widening the result. Just widen the mask. The mask will be promoted if necessary when operands are promoted. It's possible the mask type is legal, but the setcc result type is a different. We shouldn't promote to the setcc result type unless the mask needs to be promoted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319850 91177308-0d34-0410-b5e6-96231b3b80d8