[llvm] [LangRef/DataLayout] Spell out requirements for alignment values (PR #104705)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 01:36:46 PDT 2024


================
@@ -3030,8 +3030,7 @@ as follows:
 ``S<size>``
     Specifies the natural alignment of the stack in bits. Alignment
     promotion of stack variables is limited to the natural stack
-    alignment to avoid dynamic stack realignment. The stack alignment
-    must be a multiple of 8-bits. If omitted, the natural stack
----------------
nikic wrote:

I think it's fine omit the 8-bit mention here. It's only mentioned once for `S` and not any of the other alignment specifications. I looked through LangRef a bit, and with the notable exception of this sentence, the wording always tries to be byte-size agnostic.

https://github.com/llvm/llvm-project/pull/104705


More information about the llvm-commits mailing list