This commit changes the 'llvm.switch' parsing to not silently fail when
it encounters superfluous commas in the case list.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153841
[mlir][LLVM] Improve error handling in switch parsing ClosedPublic Authored by Dinistro on Jun 27 2023, 12:57 AM.
Details Summary This commit changes the 'llvm.switch' parsing to not silently fail when
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 27 2023, 1:19 AM Closed by commit rG2e17ffb469e9: [mlir][LLVM] Improve error handling in switch parsing (authored by Dinistro). · Explain WhyJun 27 2023, 2:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 534863 mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Dialect/LLVMIR/invalid.mlir
|
nit: the angular brackets are now part of the format.