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

Evan Cheng evan.cheng at apple.com
Sat Mar 17 01:53:47 PDT 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.388 -> 1.389
---
Log message:

Use SmallSet instead of std::set.

---
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.388 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.389
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.388	Sat Mar 17 03:22:49 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Sat Mar 17 03:53:30 2007
@@ -3983,7 +3983,7 @@
     return false;
 
   // DestBBs - These are the blocks where a copy of BinOp will be inserted.
-  std::set<BasicBlock*> DestBBs;
+  SmallSet<BasicBlock*, 8> DestBBs;
   BasicBlock *DefBB = BinOp->getParent();
   bool MadeChange = false;
   for (Value::use_iterator UI = BinOp->use_begin(), E = BinOp->use_end(); 






More information about the llvm-commits mailing list