[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation

Wan, Xiaofei xiaofei.wan at intel.com
Tue Jul 16 22:30:18 PDT 2013


Yes, sometime it may affect code layout which may affect performance; theoretically it is better if we could generate totally identical code, including function order, meanwhile, it is easy to validate whether parallelism is correct, just compare the outputs simply

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Joshua Cranmer ??
Sent: Wednesday, July 17, 2013 12:47 PM
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation

On 7/16/2013 9:51 PM, Wan, Xiaofei wrote:
> [Xiaofei] why? I don't understand it very well here, you mean it can 
> generate totally identical binaries as the original llc, including the 
> function order (function order may not affect code quality, but we 
> should make sure the output is same in each run)?

Per <http://www-plan.cs.colorado.edu/diwan/asplos09.pdf>, function order can affect performance by up to 15%.

--
Joshua Cranmer
Thunderbird and DXR developer
Source code arch├Žologist

_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list