diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-10-04 04:58:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-10-04 04:58:58 +0000 |
| commit | 52886e72d799a09777bd83fbf6f3d00e436798cb (patch) | |
| tree | 2d5c103507678ee2c100192d745c12351e7dba46 /llvm/lib/Transforms | |
| parent | 66b0b55816b44fe8b7637db3d22c8c1cd38d1ed4 (diff) | |
| download | bcm5719-llvm-52886e72d799a09777bd83fbf6f3d00e436798cb.tar.gz bcm5719-llvm-52886e72d799a09777bd83fbf6f3d00e436798cb.zip | |
This case isn't implemented yet. It seems unlikely to be needed, but if it
ever is, we want to get an assert instead of silent bad codegen.
llvm-svn: 30716
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp b/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp index 71746e2b6ed..d4e186cabb2 100644 --- a/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp +++ b/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp @@ -253,11 +253,9 @@ bool llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P) { if (DominanceFrontier *DF = P->getAnalysisToUpdate<DominanceFrontier>()) { // If NewBBDominatesDestBB hasn't been computed yet, do so with DF. if (!OtherPreds.empty()) { -#if 0 // FIXME: IMPLEMENT THIS! - OtherPreds.clear(); -#endif - NewBBDominatesDestBB = false; + assert(0 && "Requiring domfrontiers but not idom/domtree/domset." + " not implemented yet!"); } // Since the new block is dominated by its only predecessor TIBB, |

