[llvm-commits] [llvm] r93373 - in /llvm/trunk/lib/Target/X86: README-SSE.txt README.txt

Chris Lattner sabre at nondot.org
Wed Jan 13 22:54:09 PST 2010


On Jan 13, 2010, at 9:30 PM, Nick Lewycky wrote:

> Chris Lattner wrote:
>> Author: lattner
>> Date: Wed Jan 13 17:29:11 2010
>> New Revision: 93373
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=93373&view=rev
>> Log:
>> this is an SSE-specific issue.
> 
> It is?

Yes, 

>  We don't want to convert the branch into a switch in the IR?

No, that would require unconditionally executing the add, which the mid-level IR has no idea about how profitable this is.  ucomisd -> cmppd is a very SSE-specific case.

-Chris



More information about the llvm-commits mailing list