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

Vladimir Radosavljevic via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 07:03:42 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.
----------------
vladimirradosavljevic wrote:

Done.

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


More information about the llvm-commits mailing list