[llvm-commits] DAGCombiner Patch: Allow targets to do combinefirst.

Dan Gohman gohman at apple.com
Wed Mar 25 18:21:22 PDT 2009


On Mar 25, 2009, at 6:46 AM, Sanjiv.Gupta at microchip.com wrote:
>  To be specific, in our case the caller directly saves
> the arguments on callee's stack and hence those extra stores generated
> by clang to store the argvals to callee's frame indices are  
> unwanted. I
> mentioned the problem in case you might get some better ideas to solve
> the problem.

The mem2reg pass typically cleans up stores like those. Do I guess
correctly that you're not running the optimizer at all?

Dan




More information about the llvm-commits mailing list