[all-commits] [llvm/llvm-project] 3d6183: [LangRef] mention that the lifetime intrinsics' de...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Mon Mar 8 18:34:11 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d6183661d3a2d1e39468a51ebf4cef5bd0a2ed8
https://github.com/llvm/llvm-project/commit/3d6183661d3a2d1e39468a51ebf4cef5bd0a2ed8
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] mention that the lifetime intrinsics' description in LangRef isn't everything
This is a minor patch that addresses concerns about lifetime in D94002.
We need to mention that what's written in LangRef isn't everything about lifetime.start/end
and its semantics depends on the stack coloring algorithm's pattern matching of a stack pointer.
If the stack coloring algorithm cannot conclude that a pointer is a stack-allocated object, the pointer is conservatively
considered as a non-stack one because stack coloring won't take this lifetime into account while assigning addresses.
A reference from alloca to lifetime.start/end is added as well.
Differential Revision: https://reviews.llvm.org/D98112
More information about the All-commits
mailing list