[Mlir-commits] [mlir] [mlir][affine]if the result of a Pure operation that whose operands are dimensional identifiers, then their results are dimensional identifiers. (PR #123542)
lonely eagle
llvmlistbot at llvm.org
Sun Jan 26 05:26:33 PST 2025
================
@@ -225,18 +225,6 @@ func.func @affine_parallel(%arg0 : index, %arg1 : index, %arg2 : index) {
// -----
-func.func @affine_parallel(%arg0 : index, %arg1 : index, %arg2 : index) {
- affine.for %x = 0 to 7 {
- %y = arith.addi %x, %x : index
- // expected-error at +1 {{operand cannot be used as a dimension id}}
- affine.parallel (%i, %j) = (0, 0) to (%y, 100) step (10, 10) {
- }
- }
- return
-}
-
-// -----
----------------
linuxlonelyeagle wrote:
I didn't delete the tests, I moved them to the positive tests.Nǐ kěyǐ kàn Affine/ops.Mlir.You can look at Affine/ops.mlir.
https://github.com/llvm/llvm-project/pull/123542
More information about the Mlir-commits
mailing list