Unverified Commit 13cd8810 authored by Pranav Bhandarkar's avatar Pranav Bhandarkar Committed by GitHub
Browse files

[mlir][OpenMP] - Honor dependencies in code-generation of the if clause in...

[mlir][OpenMP] - Honor dependencies in code-generation of the if clause in `omp.task` correctly (#90891)

This patch fixes the code generation of the if clause, specifically when the
condition evaluates to false and when the task directive has the depend
clause on it. When the if clause of a task construct evaluates to false,
then the task is an undeferred task. This undeferred task still has to
honor dependencies. Previously, the OpenMPIRbuilder didn't honor
dependencies. This patch fixes that.

Fixes https://github.com/llvm/llvm-project/issues/90869
parent 1a25b723
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment