We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027fae1 commit 404f85aCopy full SHA for 404f85a
llvm/lib/CodeGen/MachineOutliner.cpp
@@ -1170,10 +1170,9 @@ bool MachineOutliner::outline(
1170
MF->getSubtarget().getRegisterInfo()->getNumRegs();
1171
unsigned Size = MachineOperand::getRegMaskSize(NumRegs);
1172
memset(RegMask, UINT32_MAX, Size * sizeof(RegMask[0]));
1173
- for (const uint32_t *Mask : RegMasks) {
+ for (const uint32_t *Mask : RegMasks)
1174
for (unsigned I = 0; I < Size; ++I)
1175
RegMask[I] &= Mask[I];
1176
- }
1177
CallInst->addOperand(MachineOperand::CreateRegMask(RegMask));
1178
}
1179
0 commit comments