forked from OSchip/llvm-project
Fix operator precedence warning. NFC.
This commit is contained in:
parent
1da13237a4
commit
7f8488eeb4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue