[flang-commits] [PATCH] D90324: [Flang][OpenMP][NFC][1/2] Reorder OmpStructureChecker and simplify it.
sameeran joshi via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Nov 2 11:06:01 PST 2020
sameeranjoshi added a comment.
In D90324#2366730 <https://reviews.llvm.org/D90324#2366730>, @clementval wrote:
>> IIUC, TableGen would check only for allowed, notallowed, etc and the restrictions in TableGen.
>>
>> Where would the other restrictions be checked?
>> e.g `Enter(const parser::OmpScheduleClause &x)` there are too many checks.
>
> That's not what I meant. What I meant is that lots of clauses have just trivial checks and therefore will just use the macros and nothing else. In your statement your were mentioning that those were just temporary but in my opinion (at least on the OpenACC side) they will stay as is since they do not have further restrictions.
True for OpenACC, but OMP has restrictions on clauses apart from trivial checks(I haven't checked the standard on which clauses might be exclusion to this statement), but at least what I can see from the patches which @yhegde and @praveen pushed they mostly implement these clauses.
What should be the final decision on this patch finally?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90324/new/
https://reviews.llvm.org/D90324
More information about the flang-commits
mailing list