[PATCH] D34566: [loop idiom Recognition] support memcpy for multiple consecutive loads and stores

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 14:18:43 PDT 2017

haicheng added inline comments.

Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:737
+    } else {
+        if (processLoopStoreOfLoopLoad(StorePtr, StoreSize, HeadStore,
+                                     StoreLoadInst, AdjacentStores, StoreEv,
DIVYA wrote:
> haicheng wrote:
> > DIVYA wrote:
> > > haicheng wrote:
> > > > I think processLoopStoreOfLoopLoad() can refactor with processLoopStridedStore(), then you don't need if...else... here.
> > > processLoopStoreOfLoopLoad() function was already present,so I haven't refactored it with  processLoopStridedStore()  in this patch.I can do that in the next patch
> > I think you can go ahead.
> So should I do it in this patch or next one?
I think in this patch.


More information about the llvm-commits mailing list