[llvm] [MCP] Optimize copies when src is used during backward propagation (PR #111130)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 10:47:00 PDT 2024


================
@@ -667,6 +707,26 @@ bool MachineCopyPropagation::hasOverlappingMultipleDef(
   return false;
 }
 
+/// Return true if it is safe to update the users of the source register of the
+/// copy.
----------------
arsenm wrote:

Document parameters?

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


More information about the llvm-commits mailing list