Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/optimization-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ Additional optimization flags
=============================

## Additional loop unroll in the LTO pipeline
In some cases it is benefitial to perform an additional loop unroll pass so that extra information becomes available to later passes, e.g. SROA.
In some cases it is benefitial to perform an additional loop unroll pass so that extra information becomes available to later passes, e.g. SROA.
Use cases where this could be beneficial - multiple (N>=4) nested loops.

### Usage:
### Usage:
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true/false

## Inline memcpy with LD/ST instructions
In some cases inlining of memcpy instructions performs best when using LD/ST instructions.

### Usage:
-mllvm -enable-inline-memcpy-ld-st
Loading