aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h')
-rw-r--r--backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h b/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h
index 6e25465..4448933 100644
--- a/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h
+++ b/backend/include/rcc/CodeGen/TargetRegisterAllocationInfo.h
@@ -51,6 +51,11 @@ public:
RegisterClassID) const noexcept {
return 1;
}
+
+ [[nodiscard]] virtual bool isReservedForFunction(const MachineFunction &, PhysicalRegister,
+ const TargetDescription &) const noexcept {
+ return false;
+ }
};
} // namespace rcc