[LLVMdev] opt -globaldce -deadargelim yields different result then when run separately

Torvald Riegel torvald at se.inf.tu-dresden.de
Sun Nov 11 07:55:32 PST 2007


when I run opt -globaldce -deadargelim on a module, deadargelim removes less 
arguments than when I run opt separately for the two passes. The module has 
dead functions that hold references to other functions, which makes the 
latter intrinsically live for deadargelim. -debug-pass=Executions shows no 
other passes being run before deadargelim.
Why is that so?


More information about the llvm-dev mailing list