diff options
| author | Craig Topper <craig.topper@sifive.com> | 2023-04-25 18:46:54 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2023-04-25 18:46:54 -0700 |
| commit | e80da0f8409aaf70d18b12c5d5d884f2c9cbddcc (patch) | |
| tree | 8b8bc9554e12abc12a209816504998ef8703e292 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 12d8e175118901c83c1d97a990c9f13d4ae1212c (diff) | |
[RISCV] Disable combineBinOpToReduce if the reduction AVL might be 0.
If the reduction AVL is 0, operand 0 of the reduction will be
returned rather than the scalar input.
To make the fold legal, we would need to fold the new scalar value
with whatever operand 0 is which may require a new scalar operation
before the reduction.
Block the combine if we can't prove AVL is non-zero.
Reviewed By: fakepaper56
Differential Revision: https://reviews.llvm.org/D149174
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
