Commit b985d63
committed
[MLIR][OpenMP] Simplify translation to LLVM IR error handling
This patch unifies the handling of errors passed through the OpenMPIRBuilder
and removes some redundant error messages through the introduction of a custom
`ErrorInfo` subclass.
Additionally, the current list of operations and clauses unsupported by the
MLIR to LLVM IR translation pass is added to a new Lit test to check they are
being reported to the user.1 parent bbc0e63 commit b985d63
File tree
3 files changed
+615
-70
lines changed- mlir
- lib
- Dialect/OpenMP/IR
- Target/LLVMIR/Dialect/OpenMP
- test/Target/LLVMIR
3 files changed
+615
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | | - | |
2503 | | - | |
2504 | | - | |
2505 | | - | |
2506 | | - | |
2507 | | - | |
2508 | | - | |
| 2502 | + | |
2509 | 2503 | | |
2510 | 2504 | | |
2511 | 2505 | | |
| |||
0 commit comments