Set maxStoresPerMemSet to 16. Ditto for maxStoresPerMemCpy and

maxStoresPerMemMove. Although the last one is not used.

llvm-svn: 26172
This commit is contained in:
Evan Cheng 2006-02-14 08:25:08 +00:00
parent 81fcea8aa2
commit 6a37456d73
1 changed files with 5 additions and 3 deletions

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!
}