[all-commits] [llvm/llvm-project] a61907: [OpenMP] Manually unroll the argument copy loop
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Mar 21 17:54:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a619072c6189a2eac82e30d5ebb5946cb1297281
https://github.com/llvm/llvm-project/commit/a619072c6189a2eac82e30d5ebb5946cb1297281
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
Log Message:
-----------
[OpenMP] Manually unroll the argument copy loop
The unroll pragma did not properly work as the loop bound was not known
when we optimize the runtime and we then added a "unroll disable"
metadata which prevented unrolling later when the bounds were known.
For now we manually unroll to make sure up to 16 elements are handled
nicely. This helps optimizations to look through the argument passing.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D109164
More information about the All-commits
mailing list