This patch changes all stack operations to use allocas instead of writing to/reading from memory. ...
14 years, 11 months ago
(2010-08-21 18:59:19 UTC)
#1
This patch changes all stack operations to use allocas instead of writing
to/reading from memory.
The stack is only written to memory if needed, which means before bailing and
exception handling and during some opcode implementations.
This gives a slight speed increase on all benchmarks (between 1.01 and 1.10
times faster) and will enable other more advanced optimizations.
Sorry for the delay. Any perf results? http://codereview.appspot.com/1994044/diff/1/8 File JIT/llvm_fbuilder.cc (right): http://codereview.appspot.com/1994044/diff/1/8#newcode1284 JIT/llvm_fbuilder.cc:1284: Value *former_top ...
14 years, 11 months ago
(2010-08-29 15:54:28 UTC)
#2
Issue 1994044: Change all stackops to use only allocas
Created 14 years, 11 months ago by ebo
Modified 14 years, 11 months ago
Reviewers: Reid Kleckner
Base URL: http://unladen-swallow.googlecode.com/svn/trunk/
Comments: 4