summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-05-11 16:41:38 +0000
committerChad Rosier <mcrosier@apple.com>2012-05-11 16:41:38 +0000
commit466d3d8faad04f77109c98eebe7e606d85c098dc (patch)
tree1b79174f65947431f94af5f63d23a16b2259d93e /llvm/lib/Target
parent0d5ec28ccc32b5ee9fdf7702824f0ea863b9226b (diff)
downloadbcm5719-llvm-466d3d8faad04f77109c98eebe7e606d85c098dc.tar.gz
bcm5719-llvm-466d3d8faad04f77109c98eebe7e606d85c098dc.zip
The return type is an unsigned, not a bool.
llvm-svn: 156621
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index de3e430b440..f3d930fbe0f 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/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<const AllocaInst*, int>::iterator SI =
FuncInfo.StaticAllocaMap.find(AI);
OpenPOWER on IntegriCloud