Displaying 4 results from an estimated 4 matches for "denisenko".
2011 Apr 18
2
[LLVMdev] How to prevent duplication of function calls?
...rn down optimizations until the assert failure goes away :(.
This is a maintenance problem but probably still easier than writing generic re-merging pass.
Dmitry
-----Original Message-----
From: Reid Kleckner [mailto:reid.kleckner at gmail.com]
Sent: Saturday, April 16, 2011 2:33 PM
To: Dmitry Denisenko
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] How to prevent duplication of function calls?
This came up a long time ago, but I'm not sure what the resolution was:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-October/026312.html
There's also TID::isNotDuplicable:
http://llvm.org/do...
2011 Apr 18
0
[LLVMdev] How to prevent duplication of function calls?
...ation of barrier in specific optimization passes. Once we fully integrate with 2.9 we plan on attempting to merge some of those changes back in to LLVM.
Micah
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Dmitry Denisenko
> Sent: Monday, April 18, 2011 7:45 AM
> To: 'Reid Kleckner'
> Cc: 'llvmdev at cs.uiuc.edu'
> Subject: Re: [LLVMdev] How to prevent duplication of function calls?
>
> Thanks Reid. It looks like the first thread didn't really get anywhere.
> The author most...
2011 Apr 16
0
[LLVMdev] How to prevent duplication of function calls?
...ober/026312.html
There's also TID::isNotDuplicable:
http://llvm.org/docs/doxygen/html/classllvm_1_1TargetInstrDesc.html#ab05b074805f22503828b5b625d437f3a
I don't know enough about LLVM's backend to say if you can get that on
an intrinsic.
Reid
On Thu, Apr 14, 2011 at 5:24 PM, Dmitry Denisenko <DDENISEN at altera.com> wrote:
> Hello,
>
>
>
> Is it possible to prevent duplication of call sites for specific functions
> (while still maintaining –O3 optimization level)? For example, the following
> C code:
>
>
>
> ------------------
>
> if (cond1)...
2011 Apr 14
2
[LLVMdev] How to prevent duplication of function calls?
Hello,
Is it possible to prevent duplication of call sites for specific functions (while still maintaining -O3 optimization level)? For example, the following C code:
------------------
if (cond1) a=2;
llvm.memory.barrier(...);
------------------
is turned by clang with -O2 into something like this:
------------------
if (cond1)
a=2;
llvm.memory.barrier(...);
else