From: Chad Rosier Date: Fri, 11 May 2012 16:41:38 +0000 (+0000) Subject: The return type is an unsigned, not a bool. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4bd21c256f6aabdc13f54ff7bf5d69e8305302c;p=oota-llvm.git The return type is an unsigned, not a bool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156621 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index de3e430b440..f3d930fbe0f 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/lib/Target/ARM/ARMFastISel.cpp @@ -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::iterator SI = FuncInfo.StaticAllocaMap.find(AI);