Skip to content

Commit b73155d

Browse files
committed
Update LangRef
1 parent af9d629 commit b73155d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/docs/LangRef.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4574,13 +4574,18 @@ do not have a body specified. This corresponds (for example) to the C
45744574
notion of a forward declared structure. They can be named (``%X``) or
45754575
unnamed (``%52``).
45764576

4577+
It is not possible to create SSA values with an opaque structure type. In
4578+
practice, this largely limits their use to the value type of external globals.
4579+
45774580
:Syntax:
45784581

45794582
::
45804583

45814584
%X = type opaque
45824585
%52 = type opaque
45834586

4587+
@g = external global %X
4588+
45844589
:Examples:
45854590

45864591
+--------------+-------------------+

0 commit comments

Comments
 (0)