[all-commits] [llvm/llvm-project] b068c8: [mlir][OpenACCToLLVM] Add pass option to emit opaq...

zero9178 via All-commits all-commits at lists.llvm.org
Tue Feb 21 05:06:27 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b068c87f182dbfa972bdb2f4fe0615232d0da085
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/OpenACCToLLVM/OpenACCToLLVM.cpp
    M mlir/test/Conversion/OpenACCToLLVM/convert-data-operands-to-llvmir.mlir

  Log Message:
  [mlir][OpenACCToLLVM] Add pass option to emit opaque pointers

Part of https://discourse.llvm.org/t/rfc-switching-the-llvm-dialect-and-dialect-lowerings-to-opaque-pointers/68179

This patch simply adds the pass option use-opaque-pointers to instruct the pass to use opaque-pointers instead of typed pointers during conversion.
The pass itself does not actually make use of any pointers or anything, so did not require any changes except simply setting the option in the type converter. The tests have also been converted to using opaque-pointers

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

More information about the All-commits mailing list