[all-commits] [llvm/llvm-project] 205b0b: [OpenMP][IRBuilder] Handle `target` directives wit...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Jan 30 09:40:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 205b0bddcd8bdd19381e095a547302fffaf2750d
      https://github.com/llvm/llvm-project/commit/205b0bddcd8bdd19381e095a547302fffaf2750d
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    A mlir/test/Target/LLVMIR/omptarget-if-nowait.mlir

  Log Message:
  -----------
  [OpenMP][IRBuilder] Handle `target` directives with both `if` & `nowait` (#125029)

This fixes a bug when a `target` directive has both an `if` and a
`nowait` clauses. The bug happens because we tried to `emitKernelLaunch`
for `else` branch of the `if` clause.



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