mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 22:15:25 +00:00
TargetInstrInfo::getStackSlotRange - fix "variable used but never read" analyzer warning. NFCI.
We don't need to divide the BitSize local variable at all. llvm-svn: 372582
This commit is contained in:
parent
146a81711a
commit
41d32f6f95
@ -394,7 +394,7 @@ bool TargetInstrInfo::getStackSlotRange(const TargetRegisterClass *RC,
|
||||
if (BitOffset < 0 || BitOffset % 8)
|
||||
return false;
|
||||
|
||||
Size = BitSize /= 8;
|
||||
Size = BitSize / 8;
|
||||
Offset = (unsigned)BitOffset / 8;
|
||||
|
||||
assert(TRI->getSpillSize(*RC) >= (Offset + Size) && "bad subregister range");
|
||||
|
Loading…
x
Reference in New Issue
Block a user