diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-08-06 11:46:19 +0100 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-08-06 11:46:19 +0100 |
| commit | 807467009d6faa5beb732d49ec4575fa1409abd7 (patch) | |
| tree | d24440c71b59e76c95fcaa4e7100f551aa3585f0 /lldb/test/API/python_api/target/TestTargetAPI.py | |
| parent | 87c5437afd273e909e0fed3389de7531d5452ea5 (diff) | |
[X86] getX86MaskVec - replace mask limit from NumElts < 8 with NumElts <= 4
As noted on PR46885, the number of mask elements should always be a power of 2, so to fix the static analyzer warning we are better off replacing the condition to <= 4, and I've added a pow2 assertion as well.
Diffstat (limited to 'lldb/test/API/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
