-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
It recently came up on dev-servo that Rust-compiled code is using an egregious amount of stack space. One possible solution that has been brought up is that we should use llvm.lifetime.start
and llvm.lifetime.end
intrinsics to reduce the amount of stack space that LLVM uses for our functions: http://llvm.org/docs/LangRef.html#llvm-lifetime-start-intrinsic.
An incomplete attempt at this has been made in an earlier PR: #12004, and the numbers there were promising.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.