Commit 86f51ba
[MLIR][OpenMP] Simplify translation to LLVM IR error handling (llvm#114036)
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 2154f8b commit 86f51ba
File tree
3 files changed
+625
-70
lines changed- mlir
- lib
- Dialect/OpenMP/IR
- Target/LLVMIR/Dialect/OpenMP
- test/Target/LLVMIR
3 files changed
+625
-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