And update the comment...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2012-02-26 02:36:56 +00:00
parent 5b04cfb785
commit 32c185eb27

View File

@ -43,7 +43,6 @@ Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty,
// not allowed to move it.
BasicBlock::iterator BIP = Builder.GetInsertPoint();
// FIXME: enable once our implementation of dominates is fixed.
assert(BIP == IP || SE.DT->dominates(IP, BIP));
// Check to see if there is already a cast!