diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-06-12 16:07:18 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-06-12 16:07:18 +0000 |
commit | 0e57b2cb9235675493b64b105ed4a0a1c07be71d (patch) | |
tree | 066aae075f3e4d2fed5ce4979ee17c5220a847e6 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 4e76015e0b3aa44728f9cb5d5151ad61f0c3e90d (diff) | |
download | bcm5719-llvm-0e57b2cb9235675493b64b105ed4a0a1c07be71d.tar.gz bcm5719-llvm-0e57b2cb9235675493b64b105ed4a0a1c07be71d.zip |
Start on my todo list
llvm-svn: 28752
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 938e17a084f..3961606b203 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -3454,10 +3454,10 @@ SDOperand DAGCombiner::SimplifySetCC(MVT::ValueType VT, SDOperand N0, /// 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 @@ SDOperand DAGCombiner::BuildSDIV(SDNode *N) { /// 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; |