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 | 466d3d8faad04f77109c98eebe7e606d85c098dc (patch) | |
| tree | 1b79174f65947431f94af5f63d23a16b2259d93e /llvm | |
| parent | 0d5ec28ccc32b5ee9fdf7702824f0ea863b9226b (diff) | |
| download | bcm5719-llvm-466d3d8faad04f77109c98eebe7e606d85c098dc.tar.gz bcm5719-llvm-466d3d8faad04f77109c98eebe7e606d85c098dc.zip | |
The return type is an unsigned, not a bool.
llvm-svn: 156621
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 2 |
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); |

