[all-commits] [llvm/llvm-project] 26d928: [mlir][flang] Add an interface of OpenACC compute ...

khaki3 via All-commits all-commits at lists.llvm.org
Fri Jul 26 13:52:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d92826a5ed7894fb6d604c8e0e755daa50cdf7
      https://github.com/llvm/llvm-project/commit/26d92826a5ed7894fb6d604c8e0e755daa50cdf7
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/test/Lower/OpenACC/acc-loop.f90
    M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    A mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
    M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt

  Log Message:
  -----------
  [mlir][flang] Add an interface of OpenACC compute regions for further getAllocaBlock support (#100675)

This PR implements `ComputeRegionOpInterface` to define `getAllocaBlock`
of OpenACC loop and compute constructs (parallel/kernels/serial). The
primary objective here is to accommodate local variables in OpenACC
compute regions. The change in `fir::FirOpBuilder::getAllocaBlock`
allows local variable allocation inside loops and kernels.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list