diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-20 22:19:10 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-21 18:51:41 +0100 |
| commit | b178555318cdccecc9d3fb4af89b4a765cb0e48c (patch) | |
| tree | 14e00423c8c50cecacb6277c73b34cb7ae65fa42 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 0e3e242209c7f84009c9d88fe52982f8ba21c68b (diff) | |
| download | llvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
