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

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 07:28:30 PST 2024


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

Thanks for noting - it started somewhat different due to different semantics, but at this point it is indeed equivalent. I've updated.

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


More information about the llvm-commits mailing list