The return type is an unsigned, not a bool.

llvm-svn: 156621
This commit is contained in:
Chad Rosier 2012-05-11 16:41:38 +00:00
parent 9c31a160a8
commit 5d178a402f

View File

@ -719,7 +719,7 @@ unsigned ARMFastISel::TargetMaterializeAlloca(const AllocaInst *AI) {
if (!FuncInfo.StaticAllocaMap.count(AI)) return 0;
MVT VT;
if (!isLoadTypeLegal(AI->getType(), VT)) return false;
if (!isLoadTypeLegal(AI->getType(), VT)) return 0;
DenseMap<const AllocaInst*, int>::iterator SI =
FuncInfo.StaticAllocaMap.find(AI);