# fvec-peel-loops, Qvec-peel-loops

Enables peel loop vectorization. This feature is only available for ifx.

## Syntax

Linux: | -fvec-peel-loops -fno-vec-peel-loops

macOS: | None

Windows: | /Qvec-peel-loops /Qvec-peel-loops-

## Arguments

None

## Default

-fno-vec-peel-loops or /Qvec-peel-loops- | No peel loop vectorization occurs.

## Description

This option enables vectorization of peeling loops created during loop vectorization. It causes the compiler to perform additional steps to vectorize a peel loop that was created to improve alignment of memory references in the main vectorized loop.

The peel loop can be vectorized only when the masked mode of vectorization is enabled by specifying option -fvec-with-mask or /Qvec-with-mask.

The vectorization of a peel loop cannot be enforced because the compiler uses the cost model to determine whether it should be done.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options

## See Also

fvec-with-mask, Qvec-with-mask compiler option
fvec-remainder-loops, Qvec-remainder-loops compiler option