floop-multiversioning, Qloop-multiversioning
Enables or disables the loop multiversioning optimization done by the compiler as part of loop transformations.
Syntax
Linux: |
-floop-multiversioning -fno-loop-multiversioning |
Windows: |
/Qloop-multiversioning /Qloop-multiversioning- |
Arguments
None
Default
-floop-multiversioning |
Loop multiversioning is performed during loop transformation at optimization levels of O2 and above. |
Description
This option enables or disables the loop multiversioning optimization done by the compiler as part of loop transformations. Loop multiversioning creates more than one version of a loop and selects among them with runtime tests, so that a version optimized under assumptions that cannot be proven at compile time, such as the absence of data dependancies or a known stride, can be used when those assumptions hold. This option takes effect only if you specify an optimization level of O2 or higher.
IDE Equivalent
Alternate Options
None