[PATCH] D26648: Clarify semantic of reserved registers.

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 11:58:05 PST 2016


arsenm added inline comments.


================
Comment at: lib/CodeGen/TargetRegisterInfo.cpp:43-47
+void TargetRegisterInfo::markSuperRegs(BitVector &RegisterSet, unsigned Reg)
+    const {
+  for (MCSuperRegIterator AI(Reg, this, true); AI.isValid(); ++AI)
+    RegisterSet.set(*AI);
+}
----------------
This is almost the same as SIRegisterInfo::reserveRegisterTuples, except that uses MCRegAliasIterator. Is there any real difference?


Repository:
  rL LLVM

https://reviews.llvm.org/D26648





More information about the llvm-commits mailing list