[LangRef] Make lifetime intrinsic's semantics consistent with StackColoring's comment
authorJuneyoung Lee <aqjune@gmail.com>
Thu, 4 Mar 2021 00:57:50 +0000 (09:57 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Thu, 4 Mar 2021 00:58:06 +0000 (09:58 +0900)
commitc821ef451373849c403686042466d30a7bf8138a
tree2fe4bf8c288464a28333e5f74452d736d320e764
parent83ef862fad6b14dd1651f5e31e331eb89a95f0ff
[LangRef] Make lifetime intrinsic's semantics consistent with StackColoring's comment

This patch is an update to LangRef by describing lifetime intrinsics' behavior
by following the description of MIR's LIFETIME_START/LIFETIME_END markers
at StackColoring.cpp (https://github.com/llvm/llvm-project/blob/eb44682d671d66e422b02595a636050582a4d84a/llvm/lib/CodeGen/StackColoring.cpp#L163) and the discussion in llvm-dev.

In order to explicitly define the meaning of an object lifetime, I added 'Object Lifetime' subsection.

Reviewed By: nlopes

Differential Revision: https://reviews.llvm.org/D94002
llvm/docs/LangRef.rst