[Mlir-commits] [mlir] [MLIR][Vector] Step op warp distribution (PR #155425)

Charitha Saumya llvmlistbot at llvm.org
Tue Aug 26 10:21:06 PDT 2025


================
@@ -705,6 +705,45 @@ struct WarpOpConstant : public WarpDistributionPattern {
   }
 };
 
+/// Sink out step op feeding into a warp op yield.
+/// Vector step op is treated similar to arith.constant, apart from
+/// the result that represents a sequence [0, vec_size).
+/// The sequence is semantically equivalent to warp's threads/lanes indices.
----------------
charithaintc wrote:

This sentence is unneccessary. It can also output a `vector<64xindex>`

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


More information about the Mlir-commits mailing list