Developer Guide and Reference

Contents

scalar-rep, Qscalar-rep

Enables or disables the scalar replacement optimization done by the compiler as part of loop transformations.

Syntax

Linux and macOS:
-scalar-rep
-no-scalar-rep
Windows:
/Qscalar-rep
/Qscalar-rep-
Arguments
None
Default
-scalar-rep
or
/Qscalar-rep
Scalar replacement is performed during loop transformation at optimization levels of O2 and above.
Description
This option enables or disables the scalar replacement optimization done by the compiler as part of loop transformations. This option takes effect only if you specify an optimization level of
O2
or higher.
Alternate Options
None