[llvm] CodeGen: Add RegisterClass by HwMode (PR #158269)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 15 06:49:39 PDT 2025
================
@@ -144,6 +152,21 @@ class CodeGenTarget {
return LegalValueTypes;
}
+ /// If \p V is a DefInit that can be interpreted as a RegisterClass (e.g.,
+ /// it's a RegisterOperand, or a direct RegisterClass reference), return the
+ /// Record for that RegisterClass.
+ ///
+ /// AssumeRegClassByHwModeIsDefault is a hack which should be removed. It's
----------------
s-barannikov wrote:
```suggestion
/// AssumeRegClassByHwModeIsDefault is a hack which should be removed. It
```
https://github.com/llvm/llvm-project/pull/158269
More information about the llvm-commits
mailing list