[llvm] [NFC][CodeGen] Add helper function to check SubReg validity (PR #181489)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 18 10:16:12 PST 2026
================
@@ -735,6 +735,10 @@ class LLVM_ABI TargetRegisterInfo : public MCRegisterInfo {
return nullptr;
}
+ /// Returns true if sub-register \p Idx can be used with register class \p RC.
----------------
jurahul wrote:
Done.
https://github.com/llvm/llvm-project/pull/181489
More information about the llvm-commits
mailing list