[PATCH] D77821: [Flang][OpenMP] Avoid abort when collapse clause value is negative
Steve Scalpone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 17:06:55 PDT 2020
sscalpone added inline comments.
================
Comment at: flang/lib/Semantics/resolve-names.cpp:6492
+ int64_t level{GetContext().associatedLoopLevel};
+ if (level <= 0)
+ return;
----------------
Perhaps replace the TODO in the comment with:
// TODO: revisit after semantics checks are completed for do-loop association of collapse and ordered
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77821/new/
https://reviews.llvm.org/D77821
More information about the llvm-commits
mailing list