File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ void RegisterClassInfo::runOnMachineFunction(const MachineFunction &mf) {
96
96
for (const MCPhysReg *I = CSR; *I; ++I)
97
97
for (MCRegAliasIterator AI (*I, TRI, true ); AI.isValid (); ++AI)
98
98
CSRHintsForAllocOrder[*AI] = STI.ignoreCSRForAllocationOrder (mf, *AI);
99
- if (IgnoreCSRForAllocOrder.size () != CSRHintsForAllocOrder.size () ||
100
- IgnoreCSRForAllocOrder != CSRHintsForAllocOrder) {
99
+ if (IgnoreCSRForAllocOrder != CSRHintsForAllocOrder) {
101
100
Update = true ;
102
101
IgnoreCSRForAllocOrder = CSRHintsForAllocOrder;
103
102
}
@@ -106,7 +105,7 @@ void RegisterClassInfo::runOnMachineFunction(const MachineFunction &mf) {
106
105
107
106
// Different reserved registers?
108
107
const BitVector &RR = MF->getRegInfo ().getReservedRegs ();
109
- if (Reserved. size () != RR. size () || RR != Reserved) {
108
+ if (RR != Reserved) {
110
109
Update = true ;
111
110
Reserved = RR;
112
111
}
You can’t perform that action at this time.
0 commit comments