[llvm] [CodeGen][NVPTX][WebAssembly] Add copyReg interface to TargetInstrInfo that takes Register instead of MCRegister. (PR #128456)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 23 20:10:45 PST 2025


================
@@ -1040,6 +1040,16 @@ class TargetInstrInfo : public MCInstrInfo {
                            bool RenamableSrc = false) const {
     llvm_unreachable("Target didn't implement TargetInstrInfo::copyPhysReg!");
   }
+  // Similar to copycopyPhysReg, but for targets that don't do register
----------------
arsenm wrote:

copycopy

https://github.com/llvm/llvm-project/pull/128456


More information about the llvm-commits mailing list