mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
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
This commit is contained in:
parent
b2dbdc5a38
commit
c8225bc92a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user