Fix operator precedence warning. NFC.

This commit is contained in:
Simon Pilgrim 2019-11-09 16:37:20 +00:00
parent 1da13237a4
commit 7f8488eeb4
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ StackMaps::parseRegisterLiveOutMask(const uint32_t *Mask) const {
// Create a LiveOutReg for each bit that is set in the register mask.
for (unsigned Reg = 0, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg)
if ((Mask[Reg / 32] >> Reg % 32) & 1)
if ((Mask[Reg / 32] >> (Reg % 32)) & 1)
LiveOuts.push_back(createLiveOutReg(Reg, TRI));
// We don't need to keep track of a register if its super-register is already