Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index 43f5e01f176ba30d489544587932cb499618516e..ad2a63eb9e8eb056d7ac5cc56ceaf77c302a85d7 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -321,6 +321,16 @@ public: |
virtual void addProlog(CfgNode *Node) = 0; |
virtual void addEpilog(CfgNode *Node) = 0; |
+ /// Create a properly-typed "mov" instruction. This is primarily for local |
+ /// variable splitting. |
+ virtual Inst *createLoweredMove(Variable *Dest, Variable *SrcVar) { |
+ // TODO(stichnot): make pure virtual by implementing for all targets |
+ (void)Dest; |
+ (void)SrcVar; |
+ llvm::report_fatal_error("createLoweredMove() unimplemented"); |
+ return nullptr; |
+ } |
+ |
virtual ~TargetLowering() = default; |
private: |