Torvald Riegel
2007-Nov-11 15:55 UTC
[LLVMdev] opt -globaldce -deadargelim yields different result then when run separately
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
Chris Lattner
2007-Nov-11 17:38 UTC
[LLVMdev] opt -globaldce -deadargelim yields different result then when run separately
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
Apparently Analagous Threads
- [LLVMdev] -O4 limitations in llvm/llvm-gcc-4.2 2.5?
- [LLVMdev] How to disbale loop-rotate in opt -O3 ?
- [LLVMdev] LTO v. opt
- [LLVMdev] Proposal: Debug information improvement - keep the line number with optimizations
- Some questions about phase ordering in OPT and LLC