[all-commits] [llvm/llvm-project] 19ad75: [mlir][acc] Ensure implicit declare hoisting works...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Thu Apr 16 13:03:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19ad75ef7f14e012fa8dac8312d0af4cdd806ee1
      https://github.com/llvm/llvm-project/commit/19ad75ef7f14e012fa8dac8312d0af4cdd806ee1
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
    M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
    M mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
    M mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp
    M mlir/test/Dialect/OpenACC/acc-implicit-declare.mlir
    M mlir/unittests/Dialect/OpenACC/CMakeLists.txt
    A mlir/unittests/Dialect/OpenACC/OpenACCCGOpsTest.cpp

  Log Message:
  -----------
  [mlir][acc] Ensure implicit declare hoisting works for compute_region (#192501)

Any hoisting across `acc.compute_region` needs to be wired through block
arguments as the region is `IsolatedFromAbove`. Thus update
`ACCImplicitDeclare` to do so by using new API
`wireHoistedValueThroughIns` which handles the value wiring after
hoisting.



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