[Flang][OpenMP] Fix when the toplevel unit is present in declare target
If the toplevel unit is present in a declare target construct, do not try to again find the enclosing construct. Patch also re-arranges the checks. Reviewed By: peixin Differential Revision: https://reviews.llvm.org/D144264
Loading
Please sign in to comment