Convert assert(0) to llvm_unreachable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2012-02-05 08:31:47 +00:00
parent 69f44692bf
commit 5e25ee8a1f
13 changed files with 41 additions and 46 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAProblem &problem,
// We need another round if spill intervals were added.
anotherRoundNeeded |= !LRE.empty();
} else {
assert(false && "Unknown allocation option.");
llvm_unreachable("Unknown allocation option.");
}
}