Displaying 3 results from an estimated 3 matches for "pranavk".
Did you mean:
pranav
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
...the above implementation is correct and should
work fine.
I initially thought that the above way is not the correct way anymore since
3.5.0 might have changed few things.
Anyways here is my dirty code I have written for my research project that I
took the above snippet from :
https://github.com/pranavk/spatial-computing/blob/master/waves.cpp#L105
On Sun, Feb 8, 2015 at 10:25 PM, David Blaikie <dblaikie at gmail.com> wrote:
> This may be difficult yo reproduce or debug without a more complete
> (though preferably minimal) test case.
> On Feb 8, 2015 8:31 AM, "Pranav Kant&quo...
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
...gt;> I initially thought that the above way is not the correct way anymore
>> since 3.5.0 might have changed few things.
>>
>> Anyways here is my dirty code I have written for my research project that
>> I took the above snippet from :
>>
>> https://github.com/pranavk/spatial-computing/blob/master/waves.cpp#L105
>>
>
> Someone (not necessarily me) will presumably need the
> input/command/arguments/whatever required to trigger the infinite loop in
> this code that you're seeing, as well as the code there.
>
>
>>
>>
>>...
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
void Wave::init (const Function &F){
Function::const_iterator ie = F.end();
outs() << ie << "\n\n";
for (Function::const_iterator I = F.begin(), IE = F.end(); I != IE;
I++, K++){
outs() << I << "\n";
// some manipulation with I
}
}
I used the above shown function in my pass in LLVM 3.4.2 and it used to
work fine but