summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-09-09 00:52:47 +0000
committerDan Gohman <dan433584@gmail.com>2015-09-09 00:52:47 +0000
commit4f52e00ecbd6623360bd1ff132552a623052b88d (patch)
tree1d82943f473d505a0d62a1a4dcf225604156fb08 /llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
parent309915626110fffc66a6ee598f9d24dbbb256ded (diff)
downloadbcm5719-llvm-4f52e00ecbd6623360bd1ff132552a623052b88d.tar.gz
bcm5719-llvm-4f52e00ecbd6623360bd1ff132552a623052b88d.zip
[WebAssembly] Implement WebAssemblyInstrInfo::copyPhysReg
llvm-svn: 247110
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
index 29fdcb0e6cb..29feee2d831 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
@@ -33,6 +33,10 @@ public:
explicit WebAssemblyInstrInfo(const WebAssemblySubtarget &STI);
const WebAssemblyRegisterInfo &getRegisterInfo() const { return RI; }
+
+ void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
+ DebugLoc DL, unsigned DestReg, unsigned SrcReg,
+ bool KillSrc) const override;
};
} // end namespace llvm
OpenPOWER on IntegriCloud