diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-05-11 16:41:38 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-05-11 16:41:38 +0000 |
commit | f4bd21c256f6aabdc13f54ff7bf5d69e8305302c (patch) | |
tree | 038d467ecc1427394b00a67fd4ae9ef12c5d7041 /lib/Target/ARM/ARMFastISel.cpp | |
parent | 4949e98cccb98abb0ba3f67c22be757d446ab108 (diff) |
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
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index de3e430b44..f3d930fbe0 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<const AllocaInst*, int>::iterator SI = FuncInfo.StaticAllocaMap.find(AI); |