[Mlir-commits] [mlir] [mlir][vector] VectorLinearize: `ub.poison` support (PR #128612)

Ivan Butygin llvmlistbot at llvm.org
Sat Mar 1 09:42:46 PST 2025


================
@@ -32,6 +32,22 @@ func.func @test_linearize(%arg0: vector<2x2xf32>) -> vector<2x2xf32> {
 
 // -----
 
+// ALL-LABEL: test_linearize_poison
+func.func @test_linearize_poison() -> vector<2x2xf32> {
+  // DEFAULT: %[[P:.*]] = ub.poison : vector<4xf32>
----------------
Hardcode84 wrote:

done

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


More information about the Mlir-commits mailing list