1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

fix pasto that broke bootstrap.

llvm-svn: 93105
This commit is contained in:
Chris Lattner 2010-01-10 06:50:04 +00:00
parent 7314e76078
commit 1332cfaea1

View File

@ -623,7 +623,7 @@ static bool CanEvaluateZExtd(Value *V, const Type *Ty, const TargetData *TD) {
PHINode *PN = cast<PHINode>(I);
if (!CanEvaluateZExtd(PN->getIncomingValue(0), Ty, TD)) return false;
for (unsigned i = 1, e = PN->getNumIncomingValues(); i != e; ++i)
if (!CanEvaluateZExtd(PN->getIncomingValue(0), Ty, TD)) return false;
if (!CanEvaluateZExtd(PN->getIncomingValue(i), Ty, TD)) return false;
return true;
}
default: