summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2021-12-13 08:40:03 -0800
committerErich Keane <erich.keane@intel.com>2021-12-17 06:08:36 -0800
commita94f68a2bd31db9712582b973e78746cee9a4e50 (patch)
treef6f8d71d8c75fabae96954414c05a596c9fe8f20 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb8c9ebfac89857e4a3bb6602d6567b0954b31011 (diff)
Implement some constexpr vector unary operators, fix boolean-ops
As requested in the review, this implements unary +,-,~, and ! for vector types. All of our boolean operations on vector types should be using something like vcmpeqd, which results in a mask of '-1' for the 'truth' type. We are currently instead using '1', which results in some incorrect calculations when used later (note that it does NOT result in a boolean vector, as that is not really a thing). This patch corrects that 1 to be a -1, and updates the affected tests. Differential Revision: https://reviews.llvm.org/D115670
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions