[llvm-commits] [llvm] r93204 - in /llvm/trunk: lib/Target/X86/X86FastISel.cpp test/CodeGen/X86/fast-isel.ll

Evan Cheng evan.cheng at apple.com
Tue Jan 12 10:23:11 PST 2010


Yes, the hack should work fine. The only annoying part is getting the number just right so selecting to LEA is still preferred over ADD.

Evan

On Jan 12, 2010, at 10:03 AM, Dan Gohman wrote:

> 
> 
> On Jan 11, 2010, at 2:59 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> 
>> Author: evancheng
>> Date: Mon Jan 11 16:59:27 2010
>> New Revision: 93204
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=93204&view=rev
>> Log:
>> Add manual ISD::OR fastisel selection routines. TableGen is no longer autogen them after 93152 and 93191.
> 
> Hi Evan,
> 
> Would it work to use AddedComplexity on the or_is_flag pattern, instead of having or_not_add?  If so, we wouldn't need this code in fastisel.
> 
> Dan
> 
>> 





More information about the llvm-commits mailing list