aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-02-06 12:04:34 -0600
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-02-06 14:09:17 -0600
commit3857d9decc4db2a0f14fd7cb7cd69be55f12cc4a (patch)
treef0e2984e845a1373ec7bbaae28c930c33ae6f26e /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parentcf8fadcf9b9362bff30e31cce06b516aa1156ce1 (diff)
downloadllvm-3857d9decc4db2a0f14fd7cb7cd69be55f12cc4a.zip
llvm-3857d9decc4db2a0f14fd7cb7cd69be55f12cc4a.tar.gz
llvm-3857d9decc4db2a0f14fd7cb7cd69be55f12cc4a.tar.bz2
Search through associative operators for BMI patterns (BLSI, BLSR, BLSMSK)
(a & (-b)) & b is often lowered as: %sub = sub i32 0, %b %and0 = and i32 %sub, %a %and1 = and i32 %and0, %b Which won't get detected by the BLSI pattern as b & -b are never in the same SDNode. This patch will do a small search through associative operators and try and place BMI patterns in the same node so they will hit the pattern. Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D141179
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions