in MultiSource/Benchmarks/VersaBench/beamformer/beamformer.
SmallSet.insert returns true if the element is inserted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116790
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!Reg || TargetRegisterInfo::isPhysicalRegister(Reg))
continue;
- bool isNew = !RegSeen.insert(Reg);
+ bool isNew = RegSeen.insert(Reg);
const TargetRegisterClass *RC = MRI->getRegClass(Reg);
EVT VT = *RC->vt_begin();
unsigned RCId = TLI->getRepRegClassFor(VT)->getID();
if (!Reg || TargetRegisterInfo::isPhysicalRegister(Reg))
continue;
- bool isNew = !RegSeen.insert(Reg);
+ bool isNew = RegSeen.insert(Reg);
if (NoImpact)
continue;