mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
Fix a GCC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34ad6db8b9
commit
626f52d43d
@ -240,8 +240,8 @@ static Instruction *getInsertPointForUses(Instruction *User, Value *Def,
|
||||
InsertPt = InsertBB->getTerminator();
|
||||
}
|
||||
assert(InsertPt && "Missing phi operand");
|
||||
assert(!isa<Instruction>(Def) ||
|
||||
DT->dominates(cast<Instruction>(Def), InsertPt) &&
|
||||
assert((!isa<Instruction>(Def) ||
|
||||
DT->dominates(cast<Instruction>(Def), InsertPt)) &&
|
||||
"def does not dominate all uses");
|
||||
return InsertPt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user