[Mlir-commits] [mlir] [vector][mlir] Canonicalize to shape_cast where possible (PR #140583)

Diego Caballero llvmlistbot at llvm.org
Thu Jun 26 09:59:19 PDT 2025


================
@@ -1033,30 +1043,6 @@ func.func @canonicalize_broadcast_shapecast_to_broadcast_scalar(%arg0: f32) -> v
 
 // -----
 
-// In this test, broadcast (2)->(1,2,1) is not legal, but shape_cast (2)->(1,2,1) is.
----------------
dcaballe wrote:

Shouldn't we keep them? shouldn't they still be canonicalized?

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


More information about the Mlir-commits mailing list