diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-03 17:30:17 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-03 17:30:36 +0000 |
| commit | cb798f040a768dbd1fc918fe581088b2fe7932bf (patch) | |
| tree | ed4b34db951ac3f68569c57755d362b5f0af104b /lldb/test/API/python_api | |
| parent | c06c02bd1f162cf154996ea064a5d19054a4e364 (diff) | |
[DAG] computeKnownBits - Move (most) ISD::SRL handling into KnownBits::lshr
As discussed on D90527, we should be be trying to move shift handling functionality into KnownBits to avoid code duplication in SelectionDAG/GlobalISel/ValueTracking.
The refactor to use the KnownBits fixed/min/max constant helpers allows us to hit a couple of cases that we were missing before.
We still need the getValidMinimumShiftAmountConstant case as KnownBits doesn't handle per-element vector cases.
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
