[llvm] [RegisterCoalescer]: Try inflated RC for coalescing reg->subreg (PR #134438)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 4 22:55:36 PDT 2025
================
@@ -731,7 +731,14 @@ class MachineRegisterInfo {
/// recomputeRegClass - Try to find a legal super-class of Reg's register
/// class that still satisfies the constraints from the instructions using
- /// Reg. Returns true if Reg was upgraded.
+ /// \p Reg. \p return the super-class TargetRegisterClass if one was found,
+ /// otherwise \p return the original TargetRegisterClass.
+ const TargetRegisterClass *
+ getLargestConstrainedSuperClass(Register Reg) const;
----------------
arsenm wrote:
Should remove the function name, this hasn't been necessary in doxygen for a long time.
Also should probably name this computeLargestConstrainedSuperClass? It's not simple get
https://github.com/llvm/llvm-project/pull/134438
More information about the llvm-commits
mailing list