Skip to content

Commit fe5b43c

Browse files
committed
Update Directives.md with comments from Kelvin Li
1 parent f075262 commit fe5b43c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flang/docs/Directives.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ A list of non-standard directives supported by Flang
5353
* `!dir$ novector` disabling vectorization on the following loop.
5454
* `!dir$ nounroll` disabling unrolling on the following loop.
5555
* `!dir$ nounroll_and_jam` disabling unrolling and jamming on the following loop.
56+
* `!dir$ inline` instructs the compiler to attempt to inline the called routines if the
57+
directive is specified before a call statement or all call statements within the loop
58+
body if specified before a DO LOOP or all function references if specified before an
59+
assignment statement.
60+
* `!dir$ forceinline` works in the same way as the `inline` directive, but it forces
61+
inlining by the compiler on a function call statement.
62+
* `!dir$ noinline` works in the same way as the `inline` directive, but prevents
63+
any attempt of inlining by the compiler on a function call statement.
5664

5765
# Directive Details
5866

0 commit comments

Comments
 (0)