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

Diego Caballero llvmlistbot at llvm.org
Tue Feb 25 16:30:39 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>
----------------
dcaballe wrote:

nit: `P` -> `POISON` per new WIP guidelines :) 
https://github.com/llvm/mlir-www/pull/216

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


More information about the Mlir-commits mailing list