Set maxStoresPerMemSet to 16. Ditto for maxStoresPerMemCpy and

maxStoresPerMemMove. Although the last one is not used.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-02-14 08:25:08 +00:00
parent 1db92f947c
commit 87ed716d21

View File

@ -251,9 +251,11 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
}
computeRegisterProperties();
maxStoresPerMemSet = 8; // For %llvm.memset -> sequence of stores
maxStoresPerMemCpy = 8; // For %llvm.memcpy -> sequence of stores
maxStoresPerMemMove = 8; // For %llvm.memmove -> sequence of stores
// FIXME: These should be based on subtarget info. Plus, the values should
// be smaller when we are in optimizing for size mode.
maxStoresPerMemSet = 16; // For %llvm.memset -> sequence of stores
maxStoresPerMemCpy = 16; // For %llvm.memcpy -> sequence of stores
maxStoresPerMemMove = 16; // For %llvm.memmove -> sequence of stores
allowUnalignedMemoryAccesses = true; // x86 supports it!
}