diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-03-21 19:53:05 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-03-21 20:54:11 -0400 |
commit | a619072c6189a2eac82e30d5ebb5946cb1297281 (patch) | |
tree | 434a8ab002658157c0d905236420417aa12eaec9 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 2362c4ecdc88123e5d54c7ebe30889fbfa760a88 (diff) | |
download | llvm-a619072c6189a2eac82e30d5ebb5946cb1297281.zip llvm-a619072c6189a2eac82e30d5ebb5946cb1297281.tar.gz llvm-a619072c6189a2eac82e30d5ebb5946cb1297281.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions