[llvm-branch-commits] [mlir] [mlir][UB] Erase ops that precede `ub.unreachable` (PR #179104)

Matthias Springer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Feb 1 04:39:04 PST 2026


matthias-springer wrote:

@kuhar Here we have a problem:
```
func.func @foo() {
  if ... {
    spirv.Kill
  }
  ub.unreachable
}
```

We would erase the `spriv.Kill` operation.

https://github.com/llvm/llvm-project/pull/179104


More information about the llvm-branch-commits mailing list