Add documentation about LLVM options for controlling pragma unroll.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/docs/LanguageExtensions.rst | ||
---|---|---|
3413 | Nit: I think that "loop unrolling increases code size and, therefore, compilation time" is kind of obvious and not particularly helpful. My preference would be to remove it and just leave the details on how to control the unrolling. | |
3414 | Considering that we're talking about clang extensions, we should probably use -mllvm -unroll-count=n. |
Nit: I think that "loop unrolling increases code size and, therefore, compilation time" is kind of obvious and not particularly helpful. My preference would be to remove it and just leave the details on how to control the unrolling.