[PATCH] D90268: [NFC] Use Register in RegisterPressure APIs

Gaurav Jain via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 14:40:03 PDT 2020


gjain accepted this revision.
gjain added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/include/llvm/CodeGen/MachineRegisterInfo.h:635
   /// MCRegUnitIterator).
-  PSetIterator getPressureSets(unsigned RegUnit) const;
+  PSetIterator getPressureSets(Register RegUnit) const;
 
----------------
What is the difference of the RegUnit vs Register? Should we rename the names to be just `Reg` as well?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90268/new/

https://reviews.llvm.org/D90268



More information about the llvm-commits mailing list