mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-14 02:10:17 +00:00
dd8400e150
This patch adds initial support for loop unrolling in the form of a series of utility classes which perform the unrolling. The pass can be run with the command spirv-opt --loop-unroll. This will unroll loops within the module which have the unroll hint set. The unroller imposes a number of requirements on the loops it can unroll. These are documented in the comments for the LoopUtils::CanPerformUnroll method in loop_utils.h. Some of the restrictions will be lifted in future patches. |
||
---|---|---|
.. | ||
as | ||
cfg | ||
comp | ||
dis | ||
emacs | ||
lesspipe | ||
link | ||
opt | ||
stats | ||
val | ||
CMakeLists.txt | ||
io.h |