[Mlir-commits] [mlir] [mlir][affine]introduce AffineSymbol trait and use it for using gpu.threadid op in the inner loops. (PR #118478)

Uday Bondhugula llvmlistbot at llvm.org
Thu Jan 16 07:14:50 PST 2025


================
@@ -410,7 +410,8 @@ bool mlir::affine::isValidSymbol(Value value) {
 /// A value can be used as a symbol for `region` iff it meets one of the
 /// following conditions:
 /// *) It is a constant.
-/// *) It is the result of an affine apply operation with symbol arguments.
+/// *) It is a result of a `Pure` operation that its operands are the valid
----------------
bondhugula wrote:

that its -> whose
are the valid -> are valid

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


More information about the Mlir-commits mailing list