Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

scalar-rep, Qscalar-rep

Enables or disables the scalar replacement optimization done by the compiler as part of loop transformations. This feature is only available for ifort.

Syntax

Linux:

-scalar-rep

-no-scalar-rep

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.

IDE Equivalent

None

Alternate Options

None

See Also