[all-commits] [llvm/llvm-project] 83433d: [OpenMP][IRBuilder] Handle `target ... nowait` whe...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Tue Jan 28 03:58:02 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 83433d936195c612a51b54397f82ab0d97369d86
https://github.com/llvm/llvm-project/commit/83433d936195c612a51b54397f82ab0d97369d86
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
A mlir/test/Target/LLVMIR/omptarget-nowait-host-only.mlir
Log Message:
-----------
[OpenMP][IRBuilder] Handle `target ... nowait` when codegen targets host (#124720)
Fixes https://github.com/llvm/llvm-project/issues/124578
Handles the `nowait` clause for `omp.target` ops when the actual target
is the host (i.e. there is no target device). Rather than only checking
for the `HasNoWait` boolean, we also check for the presence/absence of a
`DeviceID` value. We only emit the target task if both are present.
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