mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Fix a few assertion strings.
llvm-svn: 75530
This commit is contained in:
parent
8e93bc202e
commit
5c3d16883e
@ -4825,7 +4825,7 @@ const SCEV *SCEVAddRecExpr::getNumIterationsInRange(ConstantRange Range,
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
void ScalarEvolution::SCEVCallbackVH::deleted() {
|
void ScalarEvolution::SCEVCallbackVH::deleted() {
|
||||||
assert(SE && "SCEVCallbackVH called with a non-null ScalarEvolution!");
|
assert(SE && "SCEVCallbackVH called with a null ScalarEvolution!");
|
||||||
if (PHINode *PN = dyn_cast<PHINode>(getValPtr()))
|
if (PHINode *PN = dyn_cast<PHINode>(getValPtr()))
|
||||||
SE->ConstantEvolutionLoopExitValue.erase(PN);
|
SE->ConstantEvolutionLoopExitValue.erase(PN);
|
||||||
if (Instruction *I = dyn_cast<Instruction>(getValPtr()))
|
if (Instruction *I = dyn_cast<Instruction>(getValPtr()))
|
||||||
@ -4835,7 +4835,7 @@ void ScalarEvolution::SCEVCallbackVH::deleted() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ScalarEvolution::SCEVCallbackVH::allUsesReplacedWith(Value *) {
|
void ScalarEvolution::SCEVCallbackVH::allUsesReplacedWith(Value *) {
|
||||||
assert(SE && "SCEVCallbackVH called with a non-null ScalarEvolution!");
|
assert(SE && "SCEVCallbackVH called with a null ScalarEvolution!");
|
||||||
|
|
||||||
// Forget all the expressions associated with users of the old value,
|
// Forget all the expressions associated with users of the old value,
|
||||||
// so that future queries will recompute the expressions using the new
|
// so that future queries will recompute the expressions using the new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user