[Mlir-commits] [mlir] [MLIR][Parser] Fix result numbers not being allowed in switch statements (PR #224581)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Sep 18 02:46:46 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Yue Huang (AdUhTkJm)
<details>
<summary>Changes</summary>
PR #<!-- -->87658 fixed this for the `case` branch for `cf.switch`, but not the `default` case. Moreover, `llvm.switch` has the same problem. This PR fixes them.
---
Full diff: https://github.com/llvm/llvm-project/pull/224581.diff
4 Files Affected:
- (modified) mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp (+2-2)
- (modified) mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp (+1-2)
- (modified) mlir/test/Dialect/ControlFlow/ops.mlir (+13)
- (modified) mlir/test/Dialect/LLVMIR/roundtrip.mlir (+13)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/224581
More information about the Mlir-commits
mailing list