[PATCH] D86643: [LangRef] Memset/memcpy/memmove can take undef/poison pointer if the size is 0

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 10:19:43 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/docs/LangRef.rst:1161
+    specified alignment, behavior is undefined. ``undef`` and ``poison``
+    pointers have alignment 1.
 
----------------
Unsure if this is needed TBH. Might be confusing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86643/new/

https://reviews.llvm.org/D86643



More information about the llvm-commits mailing list