aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-20 22:19:10 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-21 18:51:41 +0100
commitb178555318cdccecc9d3fb4af89b4a765cb0e48c (patch)
tree14e00423c8c50cecacb6277c73b34cb7ae65fa42 /lldb/source/Plugins/ScriptInterpreter/Python
parent0e3e242209c7f84009c9d88fe52982f8ba21c68b (diff)
downloadllvm-b178555318cdccecc9d3fb4af89b4a765cb0e48c.zip
llvm-b178555318cdccecc9d3fb4af89b4a765cb0e48c.tar.gz
llvm-b178555318cdccecc9d3fb4af89b4a765cb0e48c.tar.bz2
[InstCombine] Improve simplify demanded bits worklist management
This fixes a small mistake from D72944: The worklist add should happen before assigning the new operand, not after. In case an actual replacement happens, the old operand needs to be added for DCE. If no actual replacement happens, then old/new are the same, so it doesn't matter. This drops one iteration from the annotated test case.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions