aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h')
-rw-r--r--contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h b/contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
index 8b1c247eb6a7..da4c48559d9e 100644
--- a/contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
+++ b/contrib/llvm-project/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h
@@ -61,6 +61,13 @@ public:
MF.getFunction().hasFnAttribute("signal");
}
+ MachineFunctionInfo *
+ clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF,
+ const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
+ const override {
+ return DestMF.cloneInfo<AVRMachineFunctionInfo>(*this);
+ }
+
bool getHasSpills() const { return HasSpills; }
void setHasSpills(bool B) { HasSpills = B; }