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:
0b13294
)
For r181148: fixed warning 'enumeral and non-enumeral type in conditional expression'.
author
Stepan Dyatkovskiy
<stpworld@narod.ru>
Wed, 8 May 2013 14:51:27 +0000
(14:51 +0000)
committer
Stepan Dyatkovskiy
<stpworld@narod.ru>
Wed, 8 May 2013 14:51:27 +0000
(14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181437
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 0f7beb1e3b3da610a00f437c4c8c68aef24eccab..fd777323642309c803d3fe1bee464405816c0457 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-1795,7
+1795,7
@@
ARMTargetLowering::HandleByVal(
// else parameter would be splitted between registers and stack,
// end register would be r4 in this case.
unsigned ByValRegBegin = reg;
- unsigned ByValRegEnd = (size < excess) ? reg + size/4 : ARM::R4;
+ unsigned ByValRegEnd = (size < excess) ? reg + size/4 :
(unsigned)
ARM::R4;
State->addInRegsParamInfo(ByValRegBegin, ByValRegEnd);
// Note, first register is allocated in the beginning of function already,
// allocate remained amount of registers we need.