[llvm-commits] Passing OptLevel to XCoreDAGToDAGISel

Kyriakos Georgiou kyriakos at xmos.com
Thu Dec 15 05:02:25 PST 2011

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
From: Kyriakos Georgiou
Sent: 13 December 2011 16:07
To: llvm-commits at cs.uiuc.edu
Cc: Richard Osborne
Subject: Passing OptLevel to XCoreDAGToDAGISel


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PassOptLevelToXCoreDAGToDAGISel2.diff
Type: text/x-patch
Size: 2062 bytes
Desc: PassOptLevelToXCoreDAGToDAGISel2.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111215/9bc1a1b9/attachment.bin>

More information about the llvm-commits mailing list