[llvm] Optimize register bank and info emission. (PR #208297)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 02:42:50 PDT 2026


================
@@ -447,6 +447,15 @@ class CodeGenRegisterClass {
     SubClassWithSubReg[SubIdx] = SubRC;
   }
 
+  /// Checks if there are no super-register classes for this SubIdx of this
+  /// class.
+  bool hasNoSuperRegClasses(const CodeGenSubRegIndex *SubIdx) const;
+
+  /// Checks if there is any super-register class for this SubIdx of this
+  /// class.
----------------
aengelke wrote:

The "any" isn't accurate?

https://github.com/llvm/llvm-project/pull/208297


More information about the llvm-commits mailing list