- if (unsigned CSR = CSRNum[PhysReg])
- // PhysReg aliases a CSR, save it for later. Provide a (CSR, N) sort key
- // to preserve the original ordering of multiple aliases of the same CSR.
- CSRAlias.push_back(std::make_pair((CSR << 16) + (I - AOB), PhysReg));
+ if (CSRNum[PhysReg])
+ // PhysReg aliases a CSR, save it for later.
+ CSRAlias.push_back(PhysReg);