[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Jun 12 09:06:55 PDT 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
DAGCombiner.cpp updated: 1.172 -> 1.173
---
Log message:
Start on my todo list
---
Diffs of the changes: (+4 -4)
DAGCombiner.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.172 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.173
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.172 Wed May 31 01:08:35 2006
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Mon Jun 12 11:06:43 2006
@@ -3454,10 +3454,10 @@
/// multiplying by a magic number. See:
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
SDOperand DAGCombiner::BuildSDIV(SDNode *N) {
- std::list<SDNode*> Built;
+ std::vector<SDNode*> Built;
SDOperand S = TLI.BuildSDIV(N, DAG, &Built);
- for (std::list<SDNode*>::iterator ii = Built.begin(), ee = Built.end();
+ for (std::vector<SDNode*>::iterator ii = Built.begin(), ee = Built.end();
ii != ee; ++ii)
AddToWorkList(*ii);
return S;
@@ -3468,10 +3468,10 @@
/// multiplying by a magic number. See:
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
SDOperand DAGCombiner::BuildUDIV(SDNode *N) {
- std::list<SDNode*> Built;
+ std::vector<SDNode*> Built;
SDOperand S = TLI.BuildUDIV(N, DAG, &Built);
- for (std::list<SDNode*>::iterator ii = Built.begin(), ee = Built.end();
+ for (std::vector<SDNode*>::iterator ii = Built.begin(), ee = Built.end();
ii != ee; ++ii)
AddToWorkList(*ii);
return S;
More information about the llvm-commits
mailing list