Open PeixinQiao opened 1 year ago
@llvm/issue-subscribers-flang-ir
Didn't you work on a patch for that (https://reviews.llvm.org/D129969)
@clementval I am rebasing it. I found they are different problems. If the stop statement is in one OpenMP/OpenACC region, D129969 will handle it by removing fir.unreachable
. If the stop statement is in one if construct
and if construct
is in one OpenMP/OpenACC region, the fir.unreachable
will not be removed. This case is OK in OpenMP, but it crash in OpenACC.
@llvm/issue-subscribers-bug