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 no side effects (such as modifying some global variables or causing the program to exit). Ciao, Duncan.