[llvm] [CodeGen] Precompute untyped getMinimalPhysRegClass (PR #193438)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 01:32:03 PDT 2026


================
@@ -829,6 +829,14 @@ class LLVM_ABI TargetRegisterInfo : public MCRegisterInfo {
     return nullptr;
   }
 
+  /// Return the target-defined minimal register class for an untyped physical
+  /// register query.
+  /// Will be nullptr if the register is not in any register class.
----------------
sdesmalen-arm wrote:

```suggestion
  /// register query or nullptr if the register is not in any register class.
```

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


More information about the llvm-commits mailing list