[llvm] [IR] Initial introduction of memset_pattern (PR #97583)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 09:32:53 PDT 2024


================
@@ -456,6 +456,48 @@ static void createMemMoveLoop(Instruction *InsertBefore, Value *SrcAddr,
   ElseTerm->eraseFromParent();
 }
 
+static void createMemSetPatternLoop(Instruction *InsertBefore, Value *DstAddr,
----------------
preames wrote:

This code looks identical to createMemSetLoop to my eye, is there a reason this can't be shared?

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


More information about the llvm-commits mailing list