[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Evan Cheng
evan.cheng at apple.com
Tue Feb 14 12:12:50 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.157 -> 1.158
---
Log message:
Keep to < 80 cols
---
Diffs of the changes: (+6 -6)
SelectionDAGISel.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.157 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.158
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.157 Tue Feb 14 13:45:56 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Tue Feb 14 14:12:38 2006
@@ -1563,12 +1563,12 @@
return DAG.getNode(ISD::ADD, VT, Base, DAG.getConstant(Offset, VT));
}
-/// MeetMaxMemopRequirement - Determines if the number of memory ops required
+/// MeetsMaxMemopRequirement - Determines if the number of memory ops required
/// to replace the memset / memcpy is below the threshold. It also returns the
/// types of the sequence of memory ops to perform memset / memcpy.
-static bool MeetMaxMemopRequirement(std::vector<MVT::ValueType> &MemOps,
- unsigned Limit,
- uint64_t Size, unsigned Align, TargetLowering &TLI) {
+static bool MeetsMaxMemopRequirement(std::vector<MVT::ValueType> &MemOps,
+ unsigned Limit, uint64_t Size,
+ unsigned Align, TargetLowering &TLI) {
MVT::ValueType VT;
if (TLI.allowsUnalignedMemoryAccesses()) {
@@ -1633,8 +1633,8 @@
switch (Op) {
default: break; // Do nothing for now.
case ISD::MEMSET: {
- if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
- Size->getValue(), Align, TLI)) {
+ if (MeetsMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
+ Size->getValue(), Align, TLI)) {
unsigned NumMemOps = MemOps.size();
unsigned Offset = 0;
for (unsigned i = 0; i < NumMemOps; i++) {
More information about the llvm-commits
mailing list