[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
parent
5f928a22
Please register or sign in to comment