[all-commits] [llvm/llvm-project] 3f2f83: [mlir] accept values with result numbers in gpu.la...

ftynse via All-commits all-commits at lists.llvm.org
Mon Jan 16 11:26:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f2f83ef41419507bcdaf751b86713ef193b7de0
      https://github.com/llvm/llvm-project/commit/3f2f83ef41419507bcdaf751b86713ef193b7de0
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/test/Dialect/GPU/ops.mlir

  Log Message:
  -----------
  [mlir] accept values with result numbers in gpu.launch_func

The parser of gpu.launch_func was incorrectly rejecting SSA values with
result numbers (`%0#0`) in the list of function arguments by using the
`parseArgument` function intended for region argument declarations, not
operands. Fix this by directly parsing comma-separated operands and
types.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list