[llvm] [LowerMemIntrinsics] Lower llvm.memmove to wide memory accesses (PR #100122)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 04:38:46 PDT 2024


================
@@ -655,8 +670,20 @@ static void createMemMoveLoopKnownSize(Instruction *InsertBefore,
 
   IRBuilder<> PLBuilder(InsertBefore);
 
+  Value *CmpSrcAddr = SrcAddr;
+  Value *CmpDstAddr = DstAddr;
+  if ((SrcAS != DstAS)) {
----------------
ritter-x2a wrote:

Addressed in 2f60a54, including the above two suggestions.

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


More information about the llvm-commits mailing list