Skip to content

Commit 4e7d5c1

Browse files
committed
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.6-beta.1 [skip ci]
1 parent 1d40f52 commit 4e7d5c1

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

llvm/docs/LangRef.rst

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -951,17 +951,13 @@ rules described below. If an explicit minimum alignment is specified, the
951951
function is forced to have at least that much alignment. All alignments
952952
must be a power of 2.
953953

954-
An explicit preferred alignment (``prefalign``) may also be specified
955-
for a function (definitions only, and must be a power of 2). If a
956-
function does not have a preferred alignment attribute, the preferred
957-
alignment is determined in a target-specific way. The final alignment
958-
of the function is determined in the following way: if the function
959-
size is less than the minimum alignment, the function's alignment will
960-
be at least the minimum alignment. Otherwise, if the function size is
961-
between the minimum alignment and the preferred alignment, the function's
962-
alignment will be at least the power of 2 greater than or equal to the
963-
function size. Otherwise, the function's alignment will be at least the
964-
preferred alignment.
954+
An explicit preferred alignment (``prefalign``) may also be specified for
955+
a function (definitions only, and must be a power of 2). If a function
956+
does not have a preferred alignment attribute, the preferred alignment
957+
is determined in a target-specific way. The preferred alignment, if
958+
provided, is treated as a hint; the final alignment of the function will
959+
generally be set to a value somewhere between the minimum alignment and
960+
the preferred alignment.
965961

966962
If the ``unnamed_addr`` attribute is given, the address is known to not
967963
be significant and two identical functions can be merged.

0 commit comments

Comments
 (0)