llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.04k stars 11.98k forks source link

[flang] [OpenMP] flang-new crashes (tasking Examples) #63889

Open k-arrows opened 1 year ago

k-arrows commented 1 year ago

Consider the example fortran OpenMP programs in the following: https://github.com/OpenMP/Examples/tree/main/tasking/sources

Flang-new crashes with the following programs:

Program Name Directive
tasking.6.f task untied
tasking.11.f90 task mergeable
tasking.12.f90 task mergeable
tasking.13.f90 task mergeable
tasking.14.f90 task if, task final
task_dep.12.f90 task depend
task_priority.1.f90 task priority

These programs cause a crash probably because directives are not yet implemented, so it may be a good idea to issue a TODO message.

llvmbot commented 1 year ago

@llvm/issue-subscribers-openmp

kiranchandramohan commented 1 year ago

There are patches in-flight that implement some of the portions of the pipeline for task clauses. https://reviews.llvm.org/D130704

There is also a general bug that is being fixed for tasks.

Not adding a TODO due to these reasons. The ticket can remain open till it is fixed.