aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-09-19 13:10:24 +0200
committerNikita Popov <npopov@redhat.com>2023-09-19 14:54:25 +0200
commitc41b4b6397675c0d75b316aac3bae380f1ac493c (patch)
treea6dd3d57dc51a908460950a369c1daeac1946f7c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parentf502ab7961b78d4b02e7cb61782c7bce7d6de074 (diff)
downloadllvm-c41b4b6397675c0d75b316aac3bae380f1ac493c.zip
llvm-c41b4b6397675c0d75b316aac3bae380f1ac493c.tar.gz
llvm-c41b4b6397675c0d75b316aac3bae380f1ac493c.tar.bz2
[InstCombine] Make flag drop during select equiv fold more generic
Instead of unsetting flags on the instruction, attempting the fold, and the resetting the flags if it failed, add support to simplifyWithOpReplaced() to ignore poison-generating flags/metadata and collect all instructions where they may need to be dropped. This allows us to perform the fold a) with poison-generating metadata, which was previously not handled and b) poison-generating flags/metadata that are not on the root instruction. Proof for the ctpop case: https://alive2.llvm.org/ce/z/3H3HFs Fixes https://github.com/llvm/llvm-project/issues/62450.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions