[all-commits] [llvm/llvm-project] 9dec07: [mlir][openacc] Cleanup acc.enter_data from old da...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue May 9 09:01:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dec07f44a0615ace09aabc19544d4eed0eff2c4
      https://github.com/llvm/llvm-project/commit/9dec07f44a0615ace09aabc19544d4eed0eff2c4
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-05-09 (Tue, 09 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.enter_data from old data clause operands

Since the new data operand operations have been added in D148389 and
adopted on acc.enter_data in D148721, the old clause operands are no longer
needed.

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: jeanPerier

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




More information about the All-commits mailing list