search for: tp29932485p29951053

Displaying 2 results from an estimated 2 matches for "tp29932485p29951053".

2010 Oct 13
2
[LLVMdev] DCE and external function
Hi, On Mon, Oct 11, 2010 at 3:46 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi leledumbo, > >> If I have: >> >> %x = call @externalFunc >> ... ; other codes where %x is not used >> ret ; assume void function >> >> and use dce optimization, will the call gets eliminated? > > only if the compiler can prove that the called function has
2010 Oct 13
0
[LLVMdev] DCE and external function
>>> If I have: >>> >>> %x = call @externalFunc >>> ... ; other codes where %x is not used >>> ret ; assume void function >>> >>> and use dce optimization, will the call gets eliminated? >> >> only if the compiler can prove that the called function has >> no side effects (such as modifying some global variables or