[llvm] CodeGen: Add RegisterClass by HwMode (PR #158269)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 18 22:29:36 PDT 2025
================
@@ -113,9 +113,17 @@ struct ExtAddrMode {
///
class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
protected:
+ /// Subtarget specific sub-array of MCInstrInfo's RegClassByHwModeTables
+ /// (i.e. the table for the active HwMode). This should be indexed by
+ /// MCOperandInfo's RegClass field for LookupRegClassByHwMode operands.
+ const int16_t *const RegClassByHwMode;
+
+public:
----------------
topperc wrote:
Why did this constructor become public?
https://github.com/llvm/llvm-project/pull/158269
More information about the llvm-commits
mailing list