diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-07-28 17:03:35 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-07-28 17:03:44 +0100 |
commit | 8c99cef1e7525db1e22e0aa20df35ef11236f750 (patch) | |
tree | e8785d78d6cb099ca973c853ca51a70017e5b464 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
parent | 82c1b136dbe10760241fabf13c635f78a509e744 (diff) | |
download | llvm-8c99cef1e7525db1e22e0aa20df35ef11236f750.zip llvm-8c99cef1e7525db1e22e0aa20df35ef11236f750.tar.gz llvm-8c99cef1e7525db1e22e0aa20df35ef11236f750.tar.bz2 |
[DAG] Remove SelectionDAG::GetDemandedBits and use SimplifyMultipleUseDemandedBits directly.
GetDemandedBits is mainly a wrapper around SimplifyMultipleUseDemandedBits now, and is only used by DAGCombiner::visitSTORE so I've moved all remaining functionality there.
visitSTORE was making use of this to 'simplify' constants for a trunc-store. Just removing this code left to a mixture of regressions and gains - it came down to whether a target preferred a sign or zero extended constant for materialization/truncation. I've just moved the code over for now, but a next step would be to move this to targetShrinkDemandedConstant, but some targets that override the method expect a basic binop, and might react badly to a store node.....
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions