[llvm] [CodeGen] [ARM] Make RISC-V Init Undef Pass Target Independent and add support for the ARM Architecture. (PR #77770)
Jack Styles via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 08:27:49 PST 2024
================
@@ -1173,6 +1173,14 @@ class TargetRegisterInfo : public MCRegisterInfo {
virtual bool isNonallocatableRegisterCalleeSave(MCRegister Reg) const {
return false;
}
+
+ /// Returns the Register Class that is being initialized. There
+ /// should be a Pseudo Instruction for the different register
+ /// classes for the different register types that are introduced.
+ virtual const TargetRegisterClass *
+ getTargetRegisterClass(const TargetRegisterClass *RC) const {
----------------
Stylie777 wrote:
Changed to `getLargestSuperClass`
https://github.com/llvm/llvm-project/pull/77770
More information about the llvm-commits
mailing list