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

Chris Lattner sabre at nondot.org
Sun Nov 11 09:38:49 PST 2007


This is probably a bug, please file an example in bugzilla, thanks!

-Chris

http://nondot.org/sabre
http://llvm.org

On Nov 11, 2007, at 7:55 AM, Torvald Riegel <torvald at se.inf.tu-dresden.de 
 > wrote:

> Hi,
>
> 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?
>
> Thanks,
> Torvald
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list