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:
dfe4e3e
)
Silencing a usually-helpful-but-braindead-silly-in-this-case sign mismatch warning...
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 4 Sep 2014 11:52:24 +0000
(11:52 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 4 Sep 2014 11:52:24 +0000
(11:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217143
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
d5d19bd
..
2d445aa
100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-11061,7
+11061,7
@@
bool ARMTargetLowering::shouldExpandAtomicLoadInIR(LoadInst *LI) const {
// and up to 64 bits on the non-M profiles
bool ARMTargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *AI) const {
unsigned Size = AI->getType()->getPrimitiveSizeInBits();
- return Size <= (Subtarget->isMClass() ? 32
: 64
);
+ return Size <= (Subtarget->isMClass() ? 32
U : 64U
);
}
// This has so far only been implemented for MachO.