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

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 10:26:08 PDT 2020


aqjune added inline comments.


================
Comment at: llvm/docs/LangRef.rst:1161
+    specified alignment, behavior is undefined. ``undef`` and ``poison``
+    pointers have alignment 1.
 
----------------
jdoerfert wrote:
> Unsure if this is needed TBH. Might be confusing.
Would it be better if I move this next to `However, they must still be appropriately aligned.` for a better context?


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