[Mlir-commits] [mlir] [mlir][SPIR-V] Let FConvert cast between same width types (PR #225349)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Sep 22 03:06:17 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Arseniy Obolenskiy (aobolensk)
<details>
<summary>Changes</summary>
The spec requires the component type to differ, not the width, so casts like f16 to bf16 are legal
Prerequisite for https://github.com/llvm/llvm-project/pull/212817
---
Full diff: https://github.com/llvm/llvm-project/pull/225349.diff
4 Files Affected:
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCastOps.td (+2-2)
- (modified) mlir/lib/Dialect/SPIRV/IR/CastOps.cpp (+38-10)
- (modified) mlir/test/Dialect/SPIRV/IR/cast-ops.mlir (+9-1)
- (modified) mlir/test/Target/SPIRV/cast-ops.mlir (+6-1)
``````````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/225349
More information about the Mlir-commits
mailing list