Displaying 4 results from an estimated 4 matches for "intiv".
Did you mean:
inti
2009 May 13
2
[LLVMdev] Compiler error: LoopStrengthReduce.cpp
...eport more.
>>
>> So, for now, just keep using (int) in my version until it is fixed
>> in trunk?
>
> I checked in a fix.
Also, IndVarSimplify.cpp has the same problem, only one abs usage in
it, line 700:
if (Max.getZExtValue() > static_cast<uint64_t>(abs(intEV - intIV)))
Following your style change:
if (Max.getZExtValue() > static_cast<uint64_t>(abs64(intEV - intIV)))
Also, why make an abs64, why not just override abs with 64 bit parameters?
2009 May 14
0
[LLVMdev] Compiler error: LoopStrengthReduce.cpp
...t;>> error C2668: 'abs' : ambiguous call to overloaded function
>>>>>
>> I checked in a fix.
>
> Also, IndVarSimplify.cpp has the same problem, only one abs usage in
> it, line 700:
> if (Max.getZExtValue() > static_cast<uint64_t>(abs(intEV - intIV)))
> Following your style change:
> if (Max.getZExtValue() > static_cast<uint64_t>(abs64(intEV - intIV)))
Fixed, thanks.
> Also, why make an abs64, why not just override abs with 64 bit
> parameters?
Because I think overloading standard functions is evil. ymmv.
2009 May 13
0
[LLVMdev] Compiler error: LoopStrengthReduce.cpp
On May 12, 2009, at 5:01 PMPDT, OvermindDL1 wrote:
> On Tue, May 12, 2009 at 5:01 PM, Dale Johannesen <dalej at apple.com>
> wrote:
>>
>> On May 12, 2009, at 3:09 PMPDT, OvermindDL1 wrote:
>>
>>> The error given:
>>>
>>> ..\..\..\..\trunk\lib\Transforms\Scalar
>>> \LoopStrengthReduce.cpp(1016) :
>>> error C2668:
2009 May 13
2
[LLVMdev] Compiler error: LoopStrengthReduce.cpp
On Tue, May 12, 2009 at 5:01 PM, Dale Johannesen <dalej at apple.com> wrote:
>
> On May 12, 2009, at 3:09 PMPDT, OvermindDL1 wrote:
>
>> The error given:
>>
>> ..\..\..\..\trunk\lib\Transforms\Scalar\LoopStrengthReduce.cpp(1016) :
>> error C2668: 'abs' : ambiguous call to overloaded function
>>
>> It should be rather obvious from the