[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Evan Cheng evan.cheng at apple.com
Tue Feb 14 11:46:09 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.156 -> 1.157
---
Log message:

Missed a break so memcpy cases fell through to memset. Doh.

---
Diffs of the changes:  (+1 -1)

 SelectionDAGISel.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.156 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.157
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.156	Tue Feb 14 03:11:59 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Tue Feb 14 13:45:56 2006
@@ -1631,7 +1631,7 @@
     // if the size operand falls below a certain threshold.
     std::vector<SDOperand> OutChains;
     switch (Op) {
-    default: ;  // Do nothing for now.
+    default: break;  // Do nothing for now.
     case ISD::MEMSET: {
       if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
                                   Size->getValue(), Align, TLI)) {






More information about the llvm-commits mailing list