[all-commits] [llvm/llvm-project] ef0302: [flang][acc] Emit acc.on_device operation for acc_...

Ivan R. Ivanov via All-commits all-commits at lists.llvm.org
Wed Jul 8 07:57:24 PDT 2026


  Branch: refs/heads/users/ivanradanov/generate-acc-on-device
  Home:   https://github.com/llvm/llvm-project
  Commit: ef030255af3f253a71a4bbed912d2917cff31b15
      https://github.com/llvm/llvm-project/commit/ef030255af3f253a71a4bbed912d2917cff31b15
  Author: Ivan Radanov Ivanov <iivanov at nvidia.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/CUDAIntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    A flang/include/flang/Optimizer/Builder/OpenACCIntrinsicCall.h
    M flang/include/flang/Optimizer/Builder/PPCIntrinsicCall.h
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    M flang/lib/Optimizer/Builder/CUDAIntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    A flang/lib/Optimizer/Builder/OpenACCIntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp
    A flang/test/Lower/OpenACC/acc-on-device.f90

  Log Message:
  -----------
  [flang][acc] Emit acc.on_device operation for acc_on_device call

It is important we recognize acc_on_device calls as they need to be
folded during compilation. Emitting this operation helps with the
recognition of the runtime call in the optimizer.


  Commit: 5824ebcf030b00846e56c244abc60d9589e33c02
      https://github.com/llvm/llvm-project/commit/5824ebcf030b00846e56c244abc60d9589e33c02
  Author: Ivan Radanov Ivanov <iivanov at nvidia.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M flang/lib/Optimizer/Builder/OpenACCIntrinsicCall.cpp

  Log Message:
  -----------
  simplify builder


Compare: https://github.com/llvm/llvm-project/compare/af33f791a1ed...5824ebcf030b

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