diff options
| author | Bing1 Yu <bing1.yu@intel.com> | 2020-12-22 13:09:22 +0800 |
|---|---|---|
| committer | Bing1 Yu <bing1.yu@intel.com> | 2020-12-22 13:27:38 +0800 |
| commit | e8ade4569b7b5343ae8d4d7c9d83706eca0e8e90 (patch) | |
| tree | 10ad435a3c0cf5af2a09e9ed20c2b561ebfe93d4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ec17c4f0755bdc37e6788113909368a63d0a3b97 (diff) | |
[LegalizeType] When LegalizeType procedure widens a masked_gather, set MemoryType's EltNum equal to Result's EltNum
When LegalizeType procedure widens a masked_gather, set MemoryType's EltNum equal to Result's EltNum.
As I mentioned in https://reviews.llvm.org/D91092, in previous code, If we have a v17i32's masked_gather in avx512, we widen it to a v32i32's masked_gather with a v17i32's MemoryType. When the SplitVecRes_MGATHER process this v32i32's masked_gather, GetSplitDestVTs will assert fail since what you are going to split is v17i32.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D93610
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
