[llvm-commits] [llvm] r80963 - in /llvm/trunk: include/llvm/CodeGen/FastISel.h lib/CodeGen/SelectionDAG/FastISel.cpp test/CodeGen/X86/fast-isel-fneg.ll

Dan Gohman gohman at apple.com
Mon Sep 7 17:00:49 PDT 2009



On Sep 7, 2009, at 3:23 PM, Chris Lattner <clattner at apple.com> wrote:

>
> On Sep 3, 2009, at 3:53 PM, Dan Gohman wrote:
>
>> Author: djg
>> Date: Thu Sep  3 17:53:57 2009
>> New Revision: 80963
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=80963&view=rev
>> Log:
>> LLVM currently represents floating-point negation as -0.0 - x. Fix
>> FastISel to recognize this pattern and emit a floating-point
>> negation using xor.
>
> ISD::XOR is legal for floating point operands?

Oops, no. This is fixed now.

Dan



More information about the llvm-commits mailing list