[all-commits] [llvm/llvm-project] c5798f: [mlir] [transform] Error for duplicated processor ...

Guray Ozen via All-commits all-commits at lists.llvm.org
Thu Nov 17 23:39:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5798fae05af55b513e872561b7277c6affe9d7d
      https://github.com/llvm/llvm-project/commit/c5798fae05af55b513e872561b7277c6affe9d7d
  Author: Guray Ozen <guray.ozen at gmail.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp
    M mlir/test/Dialect/GPU/transform-gpu-failing.mlir

  Log Message:
  -----------
  [mlir] [transform] Error for duplicated processor mapping

In a nested loop nest, it is not feasible to map different loops to the same processing unit; for an example, check the code below. This modification includes a check in this circumstance.

```
scf.foreach_thread (%i, %j) in (%c32, %c32) {...}
{ mapping = [#gpu.thread<x>, #gpu.thread<x>] }

```

Note: It also deletes a test because it is not possible to reproduce this error.

Depends on D138020

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D138032




More information about the All-commits mailing list