mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 11:55:12 +00:00
Set maxStoresPerMemSet to 16. Ditto for maxStoresPerMemCpy and
maxStoresPerMemMove. Although the last one is not used. llvm-svn: 26172
This commit is contained in:
parent
0bfe83eb5b
commit
80812d1070
@ -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!
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user