[PATCH] D29121: [Docs] Add LangRef documention for freeze instruction
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 13:11:47 PDT 2019
efriedma added a comment.
> we want freeze to be fully agnostic, it should not care *at all* what the type is, right?
Well, it has to be some value which actually has bits that can be frozen. So integers, floats, pointers, vectors, arrays, and structs. Maybe worth listing out explicitly.
For pointers, we should probably mention the aliasing rules explicitly. It should be similar to null: the result can't be dereferenced. (See http://llvm.org/docs/LangRef.html#pointer-aliasing-rules .)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D29121/new/
https://reviews.llvm.org/D29121
More information about the llvm-commits
mailing list