diff options
| author | Ingo Müller <ingomueller@google.com> | 2024-07-29 14:34:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 14:34:47 +0200 |
| commit | 77655f42d58e85875c4b4e28a73208b64a653c2a (patch) | |
| tree | dde68369677079c0d8cf094ff0fb130c881f32d4 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | 13d39cb6f7b20e596b66f59ebf4dba766451398b (diff) | |
[mlir][arith] Assert preconditions in `BitcastOp::fold`. (#100743)
This PR adds an assertion to `BitcastOp::fold` that fails if that
function is called on invalid IR. That can happen when patterns, passes,
etc. create (invalid) IR using builders and folding is triggered on that
IR before verification, for example, through `OpBuilder::createOrFold`.
The new assert triggers earlier than previously in order to help getting
to the root cause faster.
Signed-off-by: Ingo Müller <ingomueller@google.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
