mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
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
This commit is contained in:
parent
4949e98ccc
commit
f4bd21c256
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user