Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.232 -> 1.233 --- Log message: Make sure to pass the offset into the new node, so that we don't silently drop it on the floor. --- Diffs of the changes: (+1 -1) SelectionDAG.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.232 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.233 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.232 Thu Dec 22 23:37:50 2005 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Thu Dec 29 18:10:38 2005 @@ -511,7 +511,7 @@ MVT::ValueType VT, int offset) { SDNode *&N = GlobalValues[std::make_pair(GV, offset)]; if (N) return SDOperand(N, 0); - N = new GlobalAddressSDNode(false, GV, VT); + N = new GlobalAddressSDNode(false, GV, VT, offset); AllNodes.push_back(N); return SDOperand(N, 0); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits