[llvm] [MemCpyOpt] No need to create `memcpy(a <- a)` (PR #98321)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 07:06:26 PDT 2024


================
@@ -139,6 +139,56 @@ define void @test6_memcpy(ptr %src, ptr %dest) nounwind {
   ret void
 }
 
+; FIXME: When forwarding to memcpy(arg+1, arg+1), we don't need to create this memcpy.
----------------
dtcxzyw wrote:

Remove this FIXME.

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


More information about the llvm-commits mailing list