[llvm] a3e360e - [ARC] Fix build after createMachineFunctionInfo change 69e75ae695d9ef1360a2a1fbefd6e0e0456c3f7b
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 10:35:10 PST 2022
Author: Fangrui Song
Date: 2022-12-21T10:35:05-08:00
New Revision: a3e360e3a9bc2c939c8893c2517fa9ebbdbafade
URL: https://github.com/llvm/llvm-project/commit/a3e360e3a9bc2c939c8893c2517fa9ebbdbafade
DIFF: https://github.com/llvm/llvm-project/commit/a3e360e3a9bc2c939c8893c2517fa9ebbdbafade.diff
LOG: [ARC] Fix build after createMachineFunctionInfo change 69e75ae695d9ef1360a2a1fbefd6e0e0456c3f7b
Added:
Modified:
llvm/lib/Target/ARC/ARCTargetMachine.cpp
llvm/lib/Target/ARC/ARCTargetMachine.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARC/ARCTargetMachine.cpp b/llvm/lib/Target/ARC/ARCTargetMachine.cpp
index ff41d37474759..eba81b2beff28 100644
--- a/llvm/lib/Target/ARC/ARCTargetMachine.cpp
+++ b/llvm/lib/Target/ARC/ARCTargetMachine.cpp
@@ -11,6 +11,7 @@
#include "ARCTargetMachine.h"
#include "ARC.h"
+#include "ARCMachineFunctionInfo.h"
#include "ARCTargetTransformInfo.h"
#include "TargetInfo/ARCTargetInfo.h"
#include "llvm/CodeGen/Passes.h"
diff --git a/llvm/lib/Target/ARC/ARCTargetMachine.h b/llvm/lib/Target/ARC/ARCTargetMachine.h
index bb1484b89bc1e..26d9111502d4b 100644
--- a/llvm/lib/Target/ARC/ARCTargetMachine.h
+++ b/llvm/lib/Target/ARC/ARCTargetMachine.h
@@ -45,6 +45,10 @@ class ARCTargetMachine : public LLVMTargetMachine {
TargetLoweringObjectFile *getObjFileLowering() const override {
return TLOF.get();
}
+
+ MachineFunctionInfo *
+ createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F,
+ const TargetSubtargetInfo *STI) const override;
};
} // end namespace llvm
More information about the llvm-commits
mailing list