projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4949e98
)
The return type is an unsigned, not a bool.
author
Chad Rosier
<mcrosier@apple.com>
Fri, 11 May 2012 16:41:38 +0000
(16:41 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Fri, 11 May 2012 16:41:38 +0000
(16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156621
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index de3e430b44071856ce30196a0fb37313bf6036ba..f3d930fbe0f455593920033eee1d3cad03bebbea 100644
(file)
--- 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);