Skip to content

Commit 8ac25ff

Browse files
authored
Document enable-inline-memcpy-ld-st flag (#565)
Adds documentation of the optional inline-memcpy-ld-st flag.
1 parent 17e7fcf commit 8ac25ff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/optimization-flags.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ Additional optimization flags
22
=============================
33

44
## Additional loop unroll in the LTO pipeline
5-
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.
5+
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.
66
Use cases where this could be beneficial - multiple (N>=4) nested loops.
77

8-
### Usage:
8+
### Usage:
99
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true/false
10+
11+
## Inline memcpy with LD/ST instructions
12+
In some cases inlining of memcpy instructions performs best when using LD/ST instructions.
13+
14+
### Usage:
15+
-mllvm -enable-inline-memcpy-ld-st

0 commit comments

Comments
 (0)