[llvm-commits] [llvm] r61248 - in /llvm/trunk: lib/Transforms/Scalar/CodeGenPrepare.cpp test/CodeGen/X86/critical-edge-split.ll test/CodeGen/X86/remat-mov0.ll

Chris Lattner clattner at apple.com
Fri Dec 19 15:21:20 PST 2008

On Dec 19, 2008, at 10:03 AM, Evan Cheng wrote:

> Author: evancheng
> Date: Fri Dec 19 12:03:11 2008
> New Revision: 61248
> URL: http://llvm.org/viewvc/llvm-project?rev=61248&view=rev
> Log:
> - CodeGenPrepare does not split loop back edges but it only knows  
> about back edges of single block loops. It now does a DFS walk to  
> find loop back edges.
> - Use SplitBlockPredecessors to factor out common predecessors of  
> the critical edge destination. This is disabled for now due to some  
> regressions.

hi Evan,

Does EliminateMostlyEmptyBlocks or anything else delete blocks from  
the function?  If so, can it delete backedges?  If so, you should  
remove them from the backedge set.


More information about the llvm-commits mailing list