Displaying 5 results from an estimated 5 matches for "kuchta".
2014 Jun 04
3
[LLVMdev] Module::getOrInsertFunction determinism
...d. I wouldn’t be surprised if this is already fixed /
changed in some newer version of LLVM and I agree I should upgrade :)
Thank you very much for help,
Best regards
Tomek
On 03/06/2014 17:15, "Philip Reames" <listmail at philipreames.com> wrote:
>
>On 06/03/2014 02:50 AM, Kuchta, Tomasz wrote:
>> Hi Philip,
>>
>> I would like to ask a follow-up question about code generation.
>> Do you know if is expected that if we take the same bit code modules and
>> link them together in the same order (programatically), but on different
>> machines...
2014 Jun 03
2
[LLVMdev] Module::getOrInsertFunction determinism
...odules and
link them together in the same order (programatically), but on different
machines (assuming the same version of LLVM and
roughly the same OS), the output may differ with respect to order of
function definitions inside module?
Thank you very much in advance for help,
Best regards
Tomasz Kuchta
On 29/05/2014 22:22, "Kuchta, Tomasz" <t.kuchta12 at imperial.ac.uk> wrote:
>Hi Philip,
>
>Thank you very much for the reply. I need to add one important detail -
>currently I¹m working on an outdated version of
>LLVM, so I will need to first make sure that it also...
2014 May 29
2
[LLVMdev] Module::getOrInsertFunction determinism
Hi Tim,
Thank you very much for quick response. What happens in my case is that
mixing calls to getOrInsertFunction
with linking another bit code module to the current module seems to be
sometimes producing different outputs.
Difference might be with the ordering of functions in the file (I¹m
looking at LLVM IR representation), with numbers
used for constant variables, numbers used in the ³dbg²
2014 May 29
2
[LLVMdev] Module::getOrInsertFunction determinism
On 05/29/2014 11:06 AM, Tim Northover wrote:
> Hi Tomek,
>
>> I’ve got a question about Module::getOrInsertFunction().
>> I got an impression that it is not deterministic where exactly in the bit
>> code module the new function will be inserted.
> Looking at the code (not exhaustively), it seems a new function will
> always be added to the end of a module.
>
>
2014 May 29
3
[LLVMdev] Module::getOrInsertFunction determinism
Hi All,
I’ve got a question about Module::getOrInsertFunction().
I got an impression that it is not deterministic where exactly in the bit code module the new function will be inserted.
Is there a way to make it deterministic by explicitly specifying some offset at which the function should be inserted?
Please correct me if I’m wrong.
Thank you very much in advance for help,
Best regards,
Tomek