Intel® C++ Compiler 16.0 User and Reference Guide

scalar-rep, Qscalar-rep

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

Syntax

Linux and OS X:

-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.

IDE Equivalent

None

Alternate Options

None

See Also