mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -147,7 +147,7 @@ struct MemsetRange {
|
|||||||
} // end anon namespace
|
} // end anon namespace
|
||||||
|
|
||||||
bool MemsetRange::isProfitableToUseMemset(const TargetData &TD) const {
|
bool MemsetRange::isProfitableToUseMemset(const TargetData &TD) const {
|
||||||
// If we found more than 8 stores to merge or 64 bytes, use memset.
|
// If we found more than 4 stores to merge or 16 bytes, use memset.
|
||||||
if (TheStores.size() >= 4 || End-Start >= 16) return true;
|
if (TheStores.size() >= 4 || End-Start >= 16) return true;
|
||||||
|
|
||||||
// If there is nothing to merge, don't do anything.
|
// If there is nothing to merge, don't do anything.
|
||||||
|
Reference in New Issue
Block a user