[llvm-commits] [llvm] r55147 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Bill Wendling
isanbard at gmail.com
Thu Aug 21 16:05:03 PDT 2008
Doh! Forgot. Done.
-bw
On Thu, Aug 21, 2008 at 3:54 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> Test case?
>
> Evan
> On Aug 21, 2008, at 3:36 PM, Bill Wendling wrote:
>
>> Author: void
>> Date: Thu Aug 21 17:36:36 2008
>> New Revision: 55147
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=55147&view=rev
>> Log:
>> If part of the mask is "undef", then ignore it as we don't care what
>> goes into it.
>>
>>
>> Modified:
>> llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
>>
>> Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=55147&r1=55146&r2=55147&view=diff
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> ======================================================================
>> --- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
>> +++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Aug 21
>> 17:36:36 2008
>> @@ -3479,6 +3479,8 @@
>> if (InOrder[i])
>> continue;
>> SDValue Elt = MaskElts[i];
>> + if (Elt.getOpcode() == ISD::UNDEF)
>> + continue;
>> unsigned EltIdx = cast<ConstantSDNode>(Elt)->getValue();
>> SDValue ExtOp = (EltIdx < 8)
>> ? DAG.getNode(ISD::EXTRACT_VECTOR_ELT, MVT::i16, V1,
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list