[llvm-commits] [llvm] r52934 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Evan Cheng
evan.cheng at apple.com
Tue Jul 1 14:36:43 PDT 2008
It is strange. I'll fix it as well.
Thanks,
Evan
On Jul 1, 2008, at 1:12 AM, Duncan Sands wrote:
>> Suppress compiler warning.
>
> Thanks! The odd thing is that the same code
> can be found in LegalizeDAG.cpp line 4672, but
> (presumably) does not generate a warning.
>
> Ciao,
>
> Duncan.
>
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
>> (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp Mon
>> Jun 30 17:33:56 2008
>> @@ -372,7 +372,7 @@
>> assert((VT == MVT::f32 || VT == MVT::f64) && "Unsupported setcc
>> type!");
>>
>> // Expand into one or more soft-fp libcall(s).
>> - RTLIB::Libcall LC1, LC2 = RTLIB::UNKNOWN_LIBCALL;
>> + RTLIB::Libcall LC1 = RTLIB::UNKNOWN_LIBCALL, LC2 =
>> RTLIB::UNKNOWN_LIBCALL;
>> switch (CCCode) {
>> case ISD::SETEQ:
>> case ISD::SETOEQ:
More information about the llvm-commits
mailing list