We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2a957 commit 7a5faabCopy full SHA for 7a5faab
llvm/docs/LangRef.rst
@@ -11433,6 +11433,12 @@ If ``<value>`` is of aggregate type, padding is filled with
11433
:ref:`undef <undefvalues>`.
11434
If ``<pointer>`` is not a well-defined value, the behavior is undefined.
11435
11436
+If ``<value>`` is poison, then behavior currently is effectively undefined due
11437
+to the fact that many LLVM passes assume they can do load widening, and having
11438
+poison in memory would "infect" the entire widened load. This can hopefully be
11439
+alleviated in the future, but until then, frontends should refrain from
11440
+generating code that stores poison values in memory.
11441
+
11442
Example:
11443
""""""""
11444
0 commit comments