[all-commits] [llvm/llvm-project] 689afa: [mlir][openacc] Cleanup acc.update from old data c...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon May 8 10:03:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 689afa88ae8b8f3fc29bcd3be098b91f8a12e62e
      https://github.com/llvm/llvm-project/commit/689afa88ae8b8f3fc29bcd3be098b91f8a12e62e
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Optimizer/Transforms/OpenACC/OpenACCDataOperandConversion.cpp
    M flang/test/Transforms/OpenACC/convert-data-operands-to-llvmir.fir
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Conversion/OpenACCToLLVM/OpenACCToLLVM.cpp
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.cpp
    M mlir/test/Conversion/OpenACCToLLVM/convert-data-operands-to-llvmir.mlir
    M mlir/test/Conversion/OpenACCToSCF/convert-openacc-to-scf.mlir
    M mlir/test/Dialect/OpenACC/canonicalize.mlir
    M mlir/test/Dialect/OpenACC/invalid.mlir
    M mlir/test/Dialect/OpenACC/ops.mlir
    M mlir/test/Target/LLVMIR/openacc-llvm.mlir

  Log Message:
  -----------
  [mlir][openacc] Cleanup acc.update from old data clause operands

Since the new data operand operations have been added in D148389 and
adopted on acc.update in D149909, the old clause operands are no longer
needed. This is a first patch to start cleaning the OpenACC operations
with data clause operands.

The `LegalizeDataOpForLLVMTranslation` will become obsolete when all
operations will be cleaned. For the time being only the appropriate
part are being removed.

`processOperands` will also receive some updates once all the operands
will be coming from an acc data operand operation.

Reviewed By: razvanlupusoru, jeanPerier

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




More information about the All-commits mailing list