[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Wed Jan 18 15:19:20 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.269 -> 1.270
---
Log message:
was ignoring the legalized chain in this case, fixed SPASS on alpha
---
Diffs of the changes: (+1 -1)
LegalizeDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.269 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.270
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.269 Tue Jan 17 13:47:13 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Jan 18 17:19:08 2006
@@ -1469,7 +1469,7 @@
// Expand to CopyFromReg if the target set
// StackPointerRegisterToSaveRestore.
if (unsigned SP = TLI.getStackPointerRegisterToSaveRestore()) {
- Tmp1 = DAG.getCopyFromReg(Node->getOperand(0), SP,
+ Tmp1 = DAG.getCopyFromReg(Tmp1, SP,
Node->getValueType(0));
AddLegalizedOperand(SDOperand(Node, 0), Tmp1);
AddLegalizedOperand(SDOperand(Node, 1), Tmp1.getValue(1));
More information about the llvm-commits
mailing list