diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-11-11 13:54:21 +0530 |
|---|---|---|
| committer | Matt Arsenault <arsenm2@gmail.com> | 2019-11-11 14:42:33 +0530 |
| commit | e6c9a9af398baf40537d45498e0aaf417c1306dc (patch) | |
| tree | ac5edc00a9ea9491555e3bd37ed9041e751a638b /llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp | |
| parent | a26d7b629823bfb502d65e10c75e78754c5970d2 (diff) | |
| download | bcm5719-llvm-e6c9a9af398baf40537d45498e0aaf417c1306dc.tar.gz bcm5719-llvm-e6c9a9af398baf40537d45498e0aaf417c1306dc.zip | |
Use MCRegister in copyPhysReg
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp index 8e8126c90e7..b60fd6f687f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp @@ -54,8 +54,8 @@ bool WebAssemblyInstrInfo::isReallyTriviallyReMaterializable( void WebAssemblyInstrInfo::copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, - const DebugLoc &DL, unsigned DestReg, - unsigned SrcReg, bool KillSrc) const { + const DebugLoc &DL, MCRegister DestReg, + MCRegister SrcReg, bool KillSrc) const { // This method is called by post-RA expansion, which expects only pregs to // exist. However we need to handle both here. auto &MRI = MBB.getParent()->getRegInfo(); |

