[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Tue Feb 14 00:25:20 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.80 -> 1.81
---
Log message:
Set maxStoresPerMemSet to 16. Ditto for maxStoresPerMemCpy and
maxStoresPerMemMove. Although the last one is not used.
---
Diffs of the changes: (+5 -3)
X86ISelLowering.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.80 llvm/lib/Target/X86/X86ISelLowering.cpp:1.81
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.80 Mon Feb 13 03:00:43 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Tue Feb 14 02:25:08 2006
@@ -251,9 +251,11 @@
}
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!
}
More information about the llvm-commits
mailing list