[all-commits] [llvm/llvm-project] f7c5da: [CIR][OpenACC] Correct enter-data wait merging beh...

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Oct 2 12:19:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7c5dafcb58b60e2fa9305be967c3960144412fd
      https://github.com/llvm/llvm-project/commit/f7c5dafcb58b60e2fa9305be967c3960144412fd
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M clang/test/CIR/CodeGenOpenACC/enter-data.c
    M clang/test/CIR/CodeGenOpenACC/exit-data.c
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

  Log Message:
  -----------
  [CIR][OpenACC] Correct enter-data wait merging behavior for all but d… (#228499)

…evnum.

We should be able to merge 'wait'. On the bug report, we determined that
'empty wait' should effectively override everything, so this patch
implements this. Also, waits without a devnum are the same as just the
same lists being merged.

The dialect still needs to figure out how to represent multiple
dev-nums, so this is left as an assert, and clang just won't be able to
get this to work yet.

Fixes: #227981



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