[PATCH] D34566: [loop idiom Recognition] support memcpy for multiple consecutive loads and stores
DIVYA SHANMUGHAN via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 11:26:33 PDT 2017
DIVYA marked 2 inline comments as done.
DIVYA added inline comments.
================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:968
+
+ LoadInst *SecondStoreLoad = dyn_cast<LoadInst>(SL[k]->getValueOperand());
+ assert(SecondStoreLoad->isUnordered() &&
----------------
haicheng wrote:
> Same thing here.
This will be checked in the isLegalStore() function itself.
https://reviews.llvm.org/D34566
More information about the llvm-commits
mailing list