================
@@ -185,6 +185,48 @@ class LLVM_ABI TargetSubtargetInfo : public 
MCSubtargetInfo {
     return false;
   }
 
+  /// Returns true if CopyMI can be lowered to a zero cycle register move.
----------------
arsenm wrote:

Can you avoid adding new hooks for this? Isn't this inferable from the sched 
model? Plus plenty of places essentially treat copy as free anyway (e.g. 
isTransient) 

https://github.com/llvm/llvm-project/pull/148428
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to