diff options
| author | Markus Böck <markus.boeck02@gmail.com> | 2023-10-25 11:38:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-25 11:38:26 +0200 |
| commit | 419c6da3d763cc34b15aa66d4b6e7fed6031cedd (patch) | |
| tree | 520a440ba7208523843b68297f69c5614b8f28a5 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h | |
| parent | 2399c77c8593b0ed3bd3988a5b72f8bf6b30b0de (diff) | |
[mlir][LLVM] Verify too many indices in GEP verifier (#70174)
The current verifier stopped verification with a success value as soon
as a type was encountered that cannot be indexed into. The correct
behaviour in this case is to error out as there are too many indices for
the element type. Not doing so leads to bad user-experience as an
invalid GEP is likely to fail only later during LLVM IR translation.
This PR implements the correct verification behaviour. Some tests
upstream had to also be fixed as they were creating invalid GEPs.
Fixes https://github.com/llvm/llvm-project/issues/70168
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
