Skip to content

Commit

Permalink
Silencing a usually-helpful-but-braindead-silly-in-this-case sign mis…
Browse files Browse the repository at this point in the history
…match warning with MSVC. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217143 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
AaronBallman committed Sep 4, 2014
1 parent dfe4e3e commit fa9120f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/ARM/ARMISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() ? 32U : 64U);
}

// This has so far only been implemented for MachO.
Expand Down

0 comments on commit fa9120f

Please sign in to comment.