[Mlir-commits] [mlir] [MLIR][Arith] Fix BitcastOp fold crashing on unhandled constant attributes (PR #212483)

Tobias Gysi llvmlistbot at llvm.org
Wed Jul 29 23:07:09 PDT 2026


================
@@ -2651,6 +2651,18 @@ func.func @bitcastChain(%arg: i16) -> f16 {
 
 // -----
 
+// CHECK-LABEL: func @bitcastForeignConstantAttr
+func.func @bitcastForeignConstantAttr() -> f64 {
----------------
gysit wrote:

```suggestion
func.func @bitcast_foreign_constant_attr() -> f64 {
```
nit:

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


More information about the Mlir-commits mailing list