[llvm-commits] Passing OptLevel to XCoreDAGToDAGISel

Richard Osborne richard at xmos.com
Thu Dec 15 07:21:09 PST 2011


On 15 Dec 2011, at 13:02, Kyriakos Georgiou wrote:

> I did not realise that the OptLevel was removed from the function "addInstSelector()" in the llvm upstream, so I am posting a new patch with the  use of 
> the "getOptLevel()" to get it, as the other architectures are doing the same.
> 
> Kyriakos Georgiou | XMOS
> www.xmos.com
> ________________________________________
> From: Kyriakos Georgiou
> Sent: 13 December 2011 16:07
> To: llvm-commits at cs.uiuc.edu
> Cc: Richard Osborne
> Subject: Passing OptLevel to XCoreDAGToDAGISel
> 
> Hi,
> 
> The optLevel was not passed to "XCoreDAGToDAGISel" making the related passes to run always with the llvm default level of optimization. This patch fixes that.
> 
> Kyriakos Georgiou | XMOS
> www.xmos.com
> <PassOptLevelToXCoreDAGToDAGISel2.diff>

Looks good to me, applied in r146656.



More information about the llvm-commits mailing list