diff options
| author | Craig Topper <craig.topper@sifive.com> | 2025-11-06 07:23:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 07:23:23 -0800 |
| commit | 54803f8fce5b66fec9a39c6a532a5778083e6e40 (patch) | |
| tree | 200ae23e29b943df77a22aeb826993a3c95ba212 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3d589a93efed59349a432aef757abfaaf12f59b9 (diff) | |
[RISCV] Add test cases for widening add/sub with mismatched extends. NFC (#166700)
These are test cases where we have an add and a sub with the same
operands. One operand is a sign extend and the other is a zero extend.
The sub can only form a vwsub.wv but because add is commutable, it could
form vwadd.wv or vwaddu.wv depending on which extend is removed. We want
to form vwadd.wv to match the sub so the vsext can be removed.
Depending on the order of the instructions and the operand order of the
add, we might form vwaddu.wv instead and no extends will be removed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
