mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-07 02:56:52 +00:00
[LIR] Update some comments. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
634e1cb482
commit
cdbb6a49e2
@ -361,9 +361,7 @@ bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) {
|
||||
StoredVal, SI, StoreEv, BECount, NegStride))
|
||||
return true;
|
||||
|
||||
// If the stored value is a strided load in the same loop with the same stride
|
||||
// this may be transformable into a memcpy. This kicks in for stuff like
|
||||
// for (i) A[i] = B[i];
|
||||
// Optimize the store into a memcpy, if it feeds an similarly strided load.
|
||||
return processLoopStoreOfLoopLoad(SI, StoreSize, StoreEv, BECount, NegStride);
|
||||
}
|
||||
|
||||
@ -607,8 +605,9 @@ bool LoopIdiomRecognize::processLoopStridedStore(
|
||||
return true;
|
||||
}
|
||||
|
||||
/// processLoopStoreOfLoopLoad - We see a strided store whose value is a
|
||||
/// same-strided load.
|
||||
/// If the stored value is a strided load in the same loop with the same stride
|
||||
/// this may be transformable into a memcpy. This kicks in for stuff like
|
||||
/// for (i) A[i] = B[i];
|
||||
bool LoopIdiomRecognize::processLoopStoreOfLoopLoad(
|
||||
StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv,
|
||||
const SCEV *BECount, bool NegStride) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user