aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2021-06-10 14:24:17 -0500
committerMichael Kruse <llvm-project@meinersbur.de>2021-06-10 14:30:17 -0500
commita22236120f17074532bec70f5916a235beddd475 (patch)
treee35ff3802c63414060214adf61922971595a5beb /llvm/lib/Transforms/Utils/LoopUtils.cpp
parente0c605f6383c5a3aa8f5fa34ed4be9dc51b4a2ae (diff)
downloadllvm-a22236120f17074532bec70f5916a235beddd475.zip
llvm-a22236120f17074532bec70f5916a235beddd475.tar.gz
llvm-a22236120f17074532bec70f5916a235beddd475.tar.bz2
[OpenMP] Implement '#pragma omp unroll'.
Implementation of the unroll directive introduced in OpenMP 5.1. Follows the approach from D76342 for the tile directive (i.e. AST-based, not using the OpenMPIRBuilder). Tries to use `llvm.loop.unroll.*` metadata where possible, but has to fall back to an AST representation of the outer loop if the partially unrolled generated loop is associated with another directive (because it needs to compute the number of iterations). Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D99459
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions