llvm-project
29df0702 - [StackColoring] Treat all stack slots as conservative with `returns_twice` call-sites (#196542)

Commit
28 days ago
[StackColoring] Treat all stack slots as conservative with `returns_twice` call-sites (#196542) Do not merge stack slots on disjoint paths if the function may call setjmp/sigsetjmp, as the current algorithm defaults to computing liveness analysis from the actual uses propagated through the CFG, rather than leveraging lifetime markers, thus making it unsound with `returns_twice` calls. Fixes: https://github.com/llvm/llvm-project/issues/196468.
Parents
Loading