- CodeGenPrepare does not split loop back edges but it only knows about back edges...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 19 Dec 2008 18:03:11 +0000 (18:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 19 Dec 2008 18:03:11 +0000 (18:03 +0000)
commitab63152871f4144050d0a58d592a95e089fe40d4
tree0bb389d1de42d49c57d5daac76ef4f7ca0cf7378
parenta33649e98ce6512ed95a5e5f7b72dd28e243a289
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61248 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/X86/critical-edge-split.ll [new file with mode: 0644]
test/CodeGen/X86/remat-mov0.ll