[LLVMdev] selection dag speedups / llc speedups

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon May 17 14:52:46 PDT 2010


On May 14, 2010, at 11:24 AM, Jan Voung wrote:

> I'm sure this has been asked many times, but is there current work on decreasing the time taken by the DAG-based instruction selector, or the other phases of llc? I am just beginning to dive into LLVM, and I am interested in compile-time reductions that do not reduce code quality dramatically. For example, simply switching on "-fast-isel" (roughly 17% drop in code quality for some of my benchmarks) or "-regalloc=local/fast" (roughly 2x slower for some of my benchmarks) is, unfortunately, not an acceptable option.

The fast and local register allocators are meant to be used on unoptimized code, a 'Debug build'. While they do work on optimized code, they do not give good results. Their primary goal is compile time, not code quality.

/jakob





More information about the llvm-dev mailing list