diff options
author | Ivan Butygin <ivan.butygin@gmail.com> | 2024-08-22 12:16:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 12:16:03 +0300 |
commit | 15e915a44f0d0bf092214586d3ec86e2bb7636d7 (patch) | |
tree | cb3a951bc2c284cc6776ec2c5a9b12f0a5677825 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
parent | 14c7e4a1844904f3db9b2dc93b722925a8c66b27 (diff) | |
download | llvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.zip llvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.tar.gz llvm-15e915a44f0d0bf092214586d3ec86e2bb7636d7.tar.bz2 |
[mlir][dataflow] Propagate errors from `visitOperation` (#105448)
Base `DataFlowAnalysis::visit` returns `LogicalResult`, but wrappers's
Sparse/Dense/Forward/Backward `visitOperation` doesn't.
Sometimes it's needed to abort solver early if some unrecoverable
condition detected inside analysis.
Update `visitOperation` to return `LogicalResult` and propagate it to
`solver.initializeAndRun()`. Only `visitOperation` is updated for now,
it's possible to update other hooks like `visitNonControlFlowArguments`,
bit it's not needed immediately and let's keep this PR small.
Hijacked `UnderlyingValueAnalysis` test analysis to test it.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions