forked from OSchip/llvm-project
parent
15cffc00b3
commit
7142da0ed4
|
@ -333,7 +333,7 @@ bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) {
|
|||
return false;
|
||||
|
||||
// If the stored value is a strided load in the same loop with the same stride
|
||||
// this this may be transformable into a memcpy. This kicks in for stuff like
|
||||
// this may be transformable into a memcpy. This kicks in for stuff like
|
||||
// for (i) A[i] = B[i];
|
||||
if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
|
||||
const SCEVAddRecExpr *LoadEv =
|
||||
|
|
Loading…
Reference in New Issue